Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Localization RAP 2.3 is not working for the application model(Property Keys used in the application model are not translated to the language of the client browser)
Localization RAP 2.3 is not working for the application model [message #1371909] Wed, 21 May 2014 11:43 Go to next message
Eclipse UserFriend
Hi!

For example:

I named the label of the main window "%trimmedwindow.label.1"
In the directory OSGI-INF/l10n there are 2 files:
bundle.properties and bundle_en.properties

The label "%trimmedwindow.label.1" is allways translated to the property stored in bundle.properties.
When I browse in an "english browser" the variable RWT.getLocale() switches and the text in the parts are translated.
The labels defined in the application model still stay German. The file bundle_en.properties is not used.

Greetings!

Thorsten

PS RAP Version: 2.3.020140124-1321
Re: Localization RAP 2.3 is not working for the application model [message #1371940 is a reply to message #1371909] Wed, 21 May 2014 11:58 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
this is probably related to this bug:
379979: Branding title is not translated when using internationalization
https://bugs.eclipse.org/bugs/show_bug.cgi?id=379979
or maybe it's even a duplicate.
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Localization RAP 2.3 is not working for the application model [message #1373409 is a reply to message #1371909] Thu, 22 May 2014 02:43 Go to previous messageGo to next message
Eclipse UserFriend
Are you talking about RAP on e4?

Tom

On 21.05.14 17:43, Thorsten Hilker wrote:
> Hi!
>
> For example:
>
> I named the label of the main window "%trimmedwindow.label.1"
> In the directory OSGI-INF/l10n there are 2 files:
> bundle.properties and bundle_en.properties
>
> The label "%trimmedwindow.label.1" is allways translated to the property
> stored in bundle.properties.
> When I browse in an "english browser" the variable RWT.getLocale()
> switches and the text in the parts are translated.
> The labels defined in the application model still stay German. The file
> bundle_en.properties is not used.
> Greetings!
>
> Thorsten
>
> PS RAP Version: 2.3.020140124-1321
Re: Localization RAP 2.3 is not working for the application model [message #1373519 is a reply to message #1373409] Thu, 22 May 2014 03:46 Go to previous messageGo to next message
Eclipse UserFriend
Yes it's e4 (Luna 4.4, RAP 2.3.0.2014.0124-1321)
Re: Localization RAP 2.3 is not working for the application model [message #1373578 is a reply to message #1373519] Thu, 22 May 2014 04:23 Go to previous messageGo to next message
Eclipse UserFriend
Sounds like a bug - please file a bugzilla against
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=RAP&component=Incubator&short_desc=[e4]

Tom

On 22.05.14 09:46, Thorsten Hilker wrote:
> Yes it's e4 (Luna 4.4, RAP 2.3.0.2014.0124-1321)
Re: Localization RAP 2.3 is not working for the application model [message #1373615 is a reply to message #1373578] Thu, 22 May 2014 04:41 Go to previous messageGo to next message
Eclipse UserFriend
oh and please post the bug id here!

Tom

On 22.05.14 10:23, Tom Schindl wrote:
> Sounds like a bug - please file a bugzilla against
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=RAP&component=Incubator&short_desc=[e4]
>
> Tom
>
> On 22.05.14 09:46, Thorsten Hilker wrote:
>> Yes it's e4 (Luna 4.4, RAP 2.3.0.2014.0124-1321)
>
Re: Localization RAP 2.3 is not working for the application model [message #1373768 is a reply to message #1373615] Thu, 22 May 2014 06:07 Go to previous messageGo to next message
Eclipse UserFriend
Filed as https://bugs.eclipse.org/bugs/show_bug.cgi?id=435495 and fixed
with
http://git.eclipse.org/c/rap/incubator/org.eclipse.rap.incubator.e4.git/commit/?id=6e41c0f31ba99b9d8f7b3c75dff766293e91fd3e

Tom

On 22.05.14 10:41, Tom Schindl wrote:
> oh and please post the bug id here!
>
> Tom
>
> On 22.05.14 10:23, Tom Schindl wrote:
>> Sounds like a bug - please file a bugzilla against
>> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=RAP&component=Incubator&short_desc=[e4]
>>
>> Tom
>>
>> On 22.05.14 09:46, Thorsten Hilker wrote:
>>> Yes it's e4 (Luna 4.4, RAP 2.3.0.2014.0124-1321)
>>
>
Re: Localization RAP 2.3 is not working for the application model [message #1376225 is a reply to message #1373768] Fri, 23 May 2014 06:08 Go to previous message
Eclipse UserFriend
Works like a charm.
Thanx!

Greetings!

Thorsten
Previous Topic:Toolbars in parts not shown (RAP 2.3, Eclipse Luna)
Next Topic:Restart application with no cid
Goto Forum:
  


Current Time: Sat Aug 30 09:15:04 EDT 2025

Powered by FUDForum. Page generated in 0.06836 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top