test localization

View: New views
4 Messages — Rating Filter:   Alert me  

test localization

by azagniotov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

HI all, i prepared localization in Hebrew and i want to test it.
I have put resource file in 'etc'.

what steps should i take to be able to load the new language interface
besides restarting pebble?

is there anything needs to be configured?


cheers


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: test localization

by Olaf Kock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

azagniotov@... schrieb:
> HI all, i prepared localization in Hebrew and i want to test it.
> I have put resource file in 'etc'.
>
> what steps should i take to be able to load the new language interface
> besides restarting pebble?
>
> is there anything needs to be configured?

Hi,

That's easy: Go to your blog properties and set the language there. You
sound as if you figured out how to build pebble. If not: That's also
easy: "ant dist" should do the job.

Cheers,
Olaf

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: test localization

by azagniotov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Olaf,
yes i got that part danke :)

but what i dont get, where is the configuration that causes to load
correct resource file when i choose one language or another?

for example, what and where cause to load  "resources_de.properties" when
i choose German?

> azagniotov@... schrieb:
>> HI all, i prepared localization in Hebrew and i want to test it.
>> I have put resource file in 'etc'.
>>
>> what steps should i take to be able to load the new language interface
>> besides restarting pebble?
>>
>> is there anything needs to be configured?
>
> Hi,
>
> That's easy: Go to your blog properties and set the language there. You
> sound as if you figured out how to build pebble. If not: That's also
> easy: "ant dist" should do the job.
>
> Cheers,
> Olaf
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Pebble-user mailing list
> Pebble-user@...
> https://lists.sourceforge.net/lists/listinfo/pebble-user
>



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: test localization

by Olaf Kock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

azagniotov@... schrieb:
> Hi Olaf,
> yes i got that part danke :)
>
> but what i dont get, where is the configuration that causes to load
> correct resource file when i choose one language or another?
>
> for example, what and where cause to load  "resources_de.properties" when
> i choose German?

Hi,

see AbstractBlog.getLocale() and/or getLanguage()

Cheers,
Olaf

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user