View Issue Details

IDProjectCategoryView StatusLast Update
0003938mantisbtlocalizationpublic2004-08-29 01:41
Reporterjferraz Assigned Tojlatour  
PrioritynormalSeveritytextReproducibilityalways
Status closedResolutionfixed 
Product Versiongit trunk 
Fixed in Version0.19.0rc1 
Summary0003938: Untranslatable string
Description

In print_all_bug_optionsinc.php, line 44, there is a string compounded by two translatable words joined by an '':
langget( 'additional' ).''.lang_get( 'information' ),

This is not localization friendly. In pt-BR translation, this translation is "InformaçõesAdicionais" (the words were swapped). BTW, I didn't understand the need of the '' character between the two words, since other strings in the same array have spaces.

TagsNo tags attached.

Relationships

child of 0003987 closedvboctor Mantis 0.19.0 Release 

Activities

Wanderer

Wanderer

2004-06-16 13:44

developer   ~0005716

You can see field additional_information in one of mantis table
Also note, that all 3 variations
additional
information
additionalinformation
are in the lang-file
You can replace "
" with " " it change really nothing in other bug (0003942) presence, which make with part useless

vboctor

vboctor

2004-06-21 08:15

manager   ~0005748

We should use parameterised localisation strings which assumes nothing about the logical order of information or words. I didn't look at the code, but it doesn't seem right to me.

Wanderer

Wanderer

2004-08-10 03:42

developer   ~0006900

We have s_additional_information, using lang_get( 'additional_information' ) seems more logical for me

jlatour

jlatour

2004-08-10 05:32

reporter   ~0006902

Wow, this time I did look at the code and I have no idea why this was done as it was done: the form parameters were being localized, so you were getting the paramater 'print_additional_information' in English but 'print_additioneel_informatie' in Dutch (which is bad Dutch, since the words were translated separately) and in some language probably parameters with strange characters in them. I changed that now: the form parameters are now hardcoded English and the display checks for $s_additional_information.