Missing strings to translate ?

Jump to navigation Jump to search

Please summarize the below thread in the editing box. You may use any wikitext in your summary. When you finish, click "Publish changes".

You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in the group: Users.

You can view and copy the source of this page.

Return to Summary:Translating talk:MantisBT/Missing strings to translate ?.

Missing strings to translate ?


Following an issue reported on the MantisBT tracker [1], where user claimed missing Spanish translation string, I checked here but found no missing translations.

Yet, looking at the source code, I can confirm that there are some English strings which do not exist in translated languages, for example (latest git master-1.2.x):

$ cd ~/dev/mantisbt/lang
$ comm -3 <(grep '^\$' strings_english.txt |cut -d= -f1 |sort) <(grep '^\$' strings_spanish.txt |cut -d= -f1 |sort)
$ comm -3 <(grep '^\$' strings_english.txt |cut -d= -f1 |sort) <(grep '^\$' strings_french.txt |cut -d= -f1 |sort)

The output of comm shows lines present in strings_english.txt but missing from the target language (examples shown for Spanish and French).


Dregad20:13, 20 September 2011

They are probably under optional messages task.

Nike07:31, 21 September 2011

You are correct, they are indeed in the optional messages [1]

The problem lies in the MantisBT code which does not correctly fall back to default language (English) when a string is not defined in the translated strings file. I'll fix that.

Thanks for pointing me in the right direction.


Dregad08:55, 21 September 2011