2012-11-01 19:51:24 |
Mike McCracken |
bug |
|
|
added bug |
2012-11-01 19:56:36 |
Mike McCracken |
description |
We are currently not using the gettext translations on osx.
They are not included in the app bundle, and there's no code to get the locale or point gettext at the right files.
How to get the current preferred language from os x:
http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPInternational/Articles/ChoosingLocalizations.html
this is easy with pyobjc:
import gettext
gettext.find('ubuntuone-control-panel')
from Cocoa import NSUserDefaults
su = NSUserDefaults.standardUserDefaults()
langs = su['AppleLanguages']
import os
path = os.path.abspath('build/mo')
gettext.find('ubuntuone-control-panel', path, langs, all=True) |
We are currently not using the gettext translations on osx.
They are not included in the app bundle, and there's no code to get the locale or point gettext at the right files.
How to get the current preferred language from os x:
http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPInternational/Articles/ChoosingLocalizations.html
this is easy with pyobjc:
import gettext
from Cocoa import NSUserDefaults
su = NSUserDefaults.standardUserDefaults()
langs = su['AppleLanguages']
import os
path = os.path.abspath('build/mo') # or .app/Contents/Resources/translations/
l1 = gettext.translation('ubuntuone-control-panel', path, languages=langs)
l1.install()
print _("This device")
Este dispositivo |
|
2012-11-01 19:58:24 |
Mike McCracken |
ubuntuone-windows-installer: assignee |
|
Mike McCracken (mikemc) |
|
2012-11-02 15:05:38 |
Adolfo Jayme Barrientos |
bug |
|
|
added subscriber Adolfo Jayme Barrientos |
2012-11-28 17:36:40 |
Mike McCracken |
ubuntuone-windows-installer: status |
Confirmed |
In Progress |
|
2012-11-28 17:36:44 |
Mike McCracken |
ubuntuone-windows-installer: importance |
Wishlist |
High |
|
2012-11-28 17:37:25 |
Mike McCracken |
bug task added |
|
ubuntuone-control-panel |
|
2012-11-28 17:37:32 |
Mike McCracken |
ubuntuone-control-panel: status |
New |
In Progress |
|
2012-11-28 17:37:35 |
Mike McCracken |
ubuntuone-control-panel: importance |
Undecided |
High |
|
2012-11-28 17:37:38 |
Mike McCracken |
ubuntuone-control-panel: assignee |
|
Mike McCracken (mikemc) |
|
2012-11-28 17:59:50 |
Mike McCracken |
bug task added |
|
ubuntu-sso-client |
|
2012-11-28 17:59:57 |
Mike McCracken |
ubuntu-sso-client: status |
New |
In Progress |
|
2012-11-28 17:59:59 |
Mike McCracken |
ubuntu-sso-client: importance |
Undecided |
High |
|
2012-11-28 18:00:02 |
Mike McCracken |
ubuntu-sso-client: assignee |
|
Mike McCracken (mikemc) |
|
2012-12-11 19:35:04 |
Launchpad Janitor |
branch linked |
|
lp:~mikemc/ubuntuone-control-panel/use-translations-1074116 |
|
2012-12-12 18:17:11 |
Launchpad Janitor |
branch linked |
|
lp:~mikemc/ubuntu-sso-client/cross-platform-translations-1074116 |
|
2012-12-14 22:42:40 |
Ubuntu One Auto Pilot |
ubuntu-sso-client: status |
In Progress |
Fix Committed |
|
2012-12-17 23:03:23 |
Ubuntu One Auto Pilot |
ubuntuone-control-panel: status |
In Progress |
Fix Committed |
|
2013-01-09 22:22:23 |
dobey |
nominated for series |
|
ubuntu-sso-client/stable-4-2 |
|
2013-01-09 22:22:23 |
dobey |
bug task added |
|
ubuntu-sso-client/stable-4-2 |
|
2013-01-09 22:22:23 |
dobey |
nominated for series |
|
ubuntu-sso-client/trunk |
|
2013-01-09 22:22:23 |
dobey |
bug task added |
|
ubuntu-sso-client/trunk |
|
2013-01-09 22:22:32 |
dobey |
ubuntu-sso-client/stable-4-2: milestone |
|
4.1.2 |
|
2013-01-09 22:23:06 |
dobey |
ubuntu-sso-client/stable-4-2: assignee |
|
Mike McCracken (mikemc) |
|
2013-01-09 22:23:11 |
dobey |
ubuntu-sso-client/stable-4-2: status |
New |
Fix Committed |
|
2013-01-09 22:23:15 |
dobey |
ubuntu-sso-client/stable-4-2: importance |
Undecided |
Medium |
|
2013-01-09 22:33:18 |
dobey |
ubuntu-sso-client/stable-4-2: status |
Fix Committed |
Fix Released |
|
2013-01-09 22:33:20 |
dobey |
ubuntu-sso-client/trunk: status |
Fix Committed |
Fix Released |
|
2013-01-10 19:55:50 |
dobey |
nominated for series |
|
ubuntuone-control-panel/stable-4-2 |
|
2013-01-10 19:55:50 |
dobey |
bug task added |
|
ubuntuone-control-panel/stable-4-2 |
|
2013-01-10 19:55:50 |
dobey |
nominated for series |
|
ubuntuone-control-panel/trunk |
|
2013-01-10 19:55:50 |
dobey |
bug task added |
|
ubuntuone-control-panel/trunk |
|
2013-01-10 19:55:59 |
dobey |
ubuntuone-control-panel/stable-4-2: status |
New |
Fix Released |
|
2013-01-10 19:56:02 |
dobey |
ubuntuone-control-panel/trunk: status |
Fix Committed |
Fix Released |
|
2013-01-10 19:56:04 |
dobey |
ubuntuone-control-panel/stable-4-2: milestone |
|
4.1.2 |
|
2013-03-12 21:22:52 |
Mike McCracken |
ubuntuone-windows-installer: status |
In Progress |
Fix Released |
|