Some missing translated items on Windows exe

Bug #636960 reported by Steven Sproat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Whyteboard
Fix Committed
Medium
Steven Sproat

Bug Description

languages are coming through as English on Windows 7; translated on ubuntu

Tags: i18n windows exe

Related branches

Steven Sproat (sproaty)
Changed in whyteboard:
status: Confirmed → Fix Committed
Steven Sproat (sproaty)
Changed in whyteboard:
status: Fix Committed → Fix Released
Revision history for this message
Steven Sproat (sproaty) wrote :

aha. This bug manifests only when running from Windows EXE ...........

Changed in whyteboard:
status: Fix Released → Confirmed
Revision history for this message
Steven Sproat (sproaty) wrote :

Hmm..

meta.py defines the languages (English and translated), and filetypes, translated. This is imported before the locale has been set which screws up the exe. weirdly it's okay from source.

Need to move out wildcard and languages into their own module and import that after the wx locale has been set, allowing the translation to be applied properly.

tags: added: exe
summary: - Language drop-down in preferences on Windows aren't translated
+ Some missing translated items on Windows exe
Revision history for this message
Steven Sproat (sproaty) wrote :

Woop, figured it out!

Just moved declarations of the translated variables into functions and re-assigned the meta variables after the user's locale has been set.

Changed in whyteboard:
status: Confirmed → In Progress
Steven Sproat (sproaty)
Changed in whyteboard:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.