OSCommerce Product Manager for Windows
FS#72 - Availability date header is not being localized.
Attached to Project:
OSCommerce Product Manager
Opened by Mario A. Valdez-Ramirez (mvaldez) - Saturday, 21 August 2004, 15:03 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 12 September 2004, 01:09 GMT
Opened by Mario A. Valdez-Ramirez (mvaldez) - Saturday, 21 August 2004, 15:03 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 12 September 2004, 01:09 GMT
|
DetailsThe column "Availability date" is not being localized when changing to Spanish language controls.
The translation is available in the GNUGetText files. Pending check the cause. |
This task depends upon
Closed by Mario A. Valdez-Ramirez (mvaldez)
Sunday, 12 September 2004, 01:09 GMT
Reason for closing:
Sunday, 12 September 2004, 01:09 GMT
Reason for closing:
The cause was that the string to be translated was "AvailDate", but when changing languages, dxgettext was looking for the translated string "Availability Date", which was not found in the language files.
This happens because the columns names are translated once when created from the internal name (AvailDate), but later then are translated from the translated string (Availability Date).
The fix was to set the internal (unstranslated) string to "Availability date", and then adding the string to the language files.
Fixed.
Closed.