Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:43 Go to next message
Thorsten Hilker is currently offline Thorsten HilkerFriend
Messages: 31
Registered: March 2014
Member
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 15:58 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2334
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
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 06:43 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6523
Registered: July 2009
Senior Member
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 07:46 Go to previous messageGo to next message
Thorsten Hilker is currently offline Thorsten HilkerFriend
Messages: 31
Registered: March 2014
Member
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 08:23 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6523
Registered: July 2009
Senior Member
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 08:41 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6523
Registered: July 2009
Senior Member
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 10:07 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6523
Registered: July 2009
Senior Member
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 10:08 Go to previous message
Thorsten Hilker is currently offline Thorsten HilkerFriend
Messages: 31
Registered: March 2014
Member
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: Wed Feb 26 08:28:22 GMT 2020

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

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

Back to the top