Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Text not localized automatically
Text not localized automatically [message #557869] Thu, 09 September 2010 09:48 Go to next message
Eclipse UserFriend
Originally posted by: vm.vm.com

I have created a .rptdesign file in a folder 'test'. In the same folder I
have put the files:

labels_de_DE.properties
labels_en_GB.properties

each containing a single key 'label1' with the value:

das its ein deutches label
this is a english label

I have then attached the "labels_en_GB.properties" file as a resource to the
..rptdesign file. On a label in the report I assign the key 'label1' and when
I preview it shows up fine in english.

I then go to preferences->preview and change the locate to german and
preview again. But the text is still in english. Should birt not
automatically select the right .properties file?
Re: Text not localized automatically [message #557921 is a reply to message #557869] Thu, 09 September 2010 12:21 Go to previous message
Eclipse UserFriend
Originally posted by: vm.vm.com

Problem solved needed to specify a default lang file:

http://www.birt-exchange.org/org/forum/index.php/topic/19990 -birt-viewer-is-not-changing-localization-of-reports/page__s __a1ec02495914d01862647ba1cacc2070




"vm" <vm@vm.com> wrote in message news:i6aao8$jse$1@build.eclipse.org...
> I have created a .rptdesign file in a folder 'test'. In the same folder I
> have put the files:
>
> labels_de_DE.properties
> labels_en_GB.properties
>
> each containing a single key 'label1' with the value:
>
> das its ein deutches label
> this is a english label
>
> I have then attached the "labels_en_GB.properties" file as a resource to
> the .rptdesign file. On a label in the report I assign the key 'label1'
> and when I preview it shows up fine in english.
>
> I then go to preferences->preview and change the locate to german and
> preview again. But the text is still in english. Should birt not
> automatically select the right .properties file?
Previous Topic:customized report by windows folder files
Next Topic:Setting table groups in code (conditional grouping)
Goto Forum:
  


Current Time: Wed Sep 25 16:20:36 GMT 2024

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

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

Back to the top