Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Text not localized automatically
Text not localized automatically [message #557869] Thu, 09 September 2010 05:48 Go to next message
Eclipse User
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 08:21 Go to previous message
Eclipse User
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: Fri Jul 25 03:04:38 EDT 2014

Powered by FUDForum. Page generated in 0.10788 seconds