Closed Bug 1259377 Opened 8 years ago Closed 8 years ago

parts of sumo UI are shown in English for all locales

Categories

(support.mozilla.org :: Knowledge Base Software, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pollti, Unassigned)

References

()

Details

Editing tools, titlebar (except CONTRIBUTOR TOOLS > LOCALIZATION DASHBOARD, which doen't exist in en-US) and media galery are shown in English to all users.
Examples:
-https://support.mozilla.org/de/gallery/images
-https://support.mozilla.org/nl/gallery/images
Something went terribly wrong during the export I guess. If I look at https://viewvc.svn.mozilla.org/vc/projects/sumo/locales/cs/LC_MESSAGES/django.po?r1=150343&r2=150437, I see a lot of "red".
Hi,

when I look to the msgstr strings I see that some strings contain two string texts, one empty text and one with the translation. I think the program reads the empty string text and thinks the string is still untranslated. That is even true for some msgid strings, see:

https://viewvc.svn.mozilla.org/vc/projects/sumo/locales/dsb/LC_MESSAGES/django.po?r1=150437&r2=150455&pathrev=150455
Thanks for flagging this!

@mythmon - can you please look at this as it's affecting all locales? Thanks!
Flags: needinfo?(mcooper)
(In reply to Michal Stanke (Mozilla.cz) [:MikkCZ] from comment #3)
> Something went terribly wrong during the export I guess. If I look at
> https://viewvc.svn.mozilla.org/vc/projects/sumo/locales/cs/LC_MESSAGES/
> django.po?r1=150343&r2=150437, I see a lot of "red".

Yap. I also think so. I have pulled the locales and tried in my locale kitsune server. Seems like, this commit of SVN may broke the localization.
I think I've fixed this. It looks like we weren't extracting strings correctly from the code base, so a lot of strings got removed from our localization templates. I fixed our extraction problems. All the example links in this bug work for me now.
Flags: needinfo?(mcooper)
Thanks to everyone taking a look at this and solving the issue :-)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Actually, I'd like to keep this bug open until PR 2826 [0] gets merged. This is fixed temporarily; PR 2826 is the code changes to make this permanent.

[0]: https://github.com/mozilla/kitsune/pull/2826
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This has been deployed to prod.
Status: REOPENED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.