Some missing translated items on Windows exe

Bug #636960 reported by Steven Sproat on 2010-09-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Whyteboard
Medium
Steven Sproat

Bug Description

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

Related branches

Steven Sproat (sproaty) on 2010-09-15
Changed in whyteboard:
status: Confirmed → Fix Committed
Steven Sproat (sproaty) on 2010-09-18
Changed in whyteboard:
status: Fix Committed → Fix Released
Steven Sproat (sproaty) wrote :

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

Changed in whyteboard:
status: Fix Released → Confirmed
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
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) on 2011-06-07
Changed in whyteboard:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers