Closed Bug 796335 Opened 12 years ago Closed 9 years ago

UILocale argument problem

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(blocking-basecamp:-)

RESOLVED WONTFIX
blocking-basecamp -

People

(Reporter: ghtobz, Unassigned)

Details

(Whiteboard: [label:l10n])

[GitHub issue by NekR on 2012-04-08T22:31:42Z, https://github.com/mozilla-b2g/gaia/issues/1176]
Hello.
I builded mozilla-central on Ubuntu 11.10 x86_64.
I run it with this command:

nekr@nekr-Dell:~/gaia$ /home/nekr/b2g-build/dist/bin/b2g -profile /home/nekr/gaia/profile -safe-mode -UILocale ru -jsconsole

and output going:

(b2g:11765): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(b2g:11765): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(b2g:11765): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(b2g:11765): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Cannot open socket for RIL!
-*- WifiWorker component: Wifi starting
Could not load libcutils.so. Using fake propdb.
Could not load libnetutils.so!
-*- WifiWorker component: Got an error from the control worker: resource://gre/modules/libhardware_legacy.js:7: couldn't open library

-*- WifiWorker component: Got an error from the event worker: resource://gre/modules/libhardware_legacy.js:7: couldn't open library

======================= webapi+apps.js ======================= 
SmsDatabaseService: Opened database: sms 1
SmsDatabaseService: Started transaction [object IDBTransaction] of type readonly
SmsDatabaseService: Retrieving object store sms
SmsDatabaseService: Could not get the last key from sms database. Probably empty database
SmsDatabaseService: Transaction [object IDBTransaction] completed.
Cannot open socket for RIL!

The last line is repeated all time while application is runned.
And general problem is that the UILocale argument has no effect, it always running with default locale.

B2G was builded on "pure ubuntu", right after installed the system. Of course all dependencies was closed.
[GitHub comment by autonome on 2012-05-10T18:25:55Z]
@fabricedesre @vingtetun Can you figure out what needs to be done with this?
[GitHub comment by vingtetun on 2012-05-10T19:57:49Z]
On 10/05/2012 20:25, Dietrich Ayala wrote:
> @fabricedesre @vingtetun Can you figure out what needs to be done with this?

UILocale is not supported. It affects the language of the Chrome UI and 
there is no Chrome UI in Gaia.
[GitHub comment by fabi1cazenave on 2012-05-14T06:54:30Z]
Passing -UILocale might not be the proper solution but we still need a way to select a locale on the desktop (think of our l10n contributors).
[GitHub comment by fabi1cazenave on 2012-05-14T07:16:25Z]
Passing -UILocale might not be the proper solution but we still need a way to select a locale on the desktop — think of our l10n contributors.
[GitHub comment by vingtetun on 2012-05-14T12:02:45Z]
On 14/05/2012 09:16, Fabien Cazenave [:kazé] wrote:
> Passing -UILocale might not be the proper solution but we still need a way to select a locale on the desktop — think of our l10n contributors.

Sure. This will be possible by preffiling the settings database with the 
correct language (see build/settings.js) and doing some Makefile magic.
[GitHub comment by autonome on 2012-07-19T15:55:55Z]
Is there anything that needs to be done here? Blocking- for now. Request blocking if this is something that needs to be fixed for release.
[GitHub comment by vingtetun on 2012-07-19T17:09:14Z]
On 19/07/2012 17:55, Dietrich Ayala wrote:
> Is there anything that needs to be done here? Blocking- for now. Request blocking if this is something that needs to be fixed for release.

The locale can be changed in the Settings Application.
Assignee: fabien → nobody
There's been lots of changes with pseudolocales recently for development use. I don't think there's much we need to do here, but please re-open or file a new bug if necessary.

For now I would recommend using a custom-settings file to specify your own custom locale.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.