Re: How to localize options in drop down.

2013-10-10 Thread cosmindumy
 Mission accomplished. I used the method with *.utf8.properties.
I'm sure the properties in xml files had also worked. 
Wicket localization is great.
 Thanks for helping. 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-localize-options-in-drop-down-tp4661751p4661778.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to localize options in drop down.

2013-10-09 Thread cosmindumy
Hello,
Thanks for answering.
They are in *.properties.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-localize-options-in-drop-down-tp4661751p4661761.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to localize options in drop down.

2013-10-09 Thread Sven Meier

Do you use unicode escapes or how do you enter unicode characters?

Sven

On 10/09/2013 10:23 AM, cosmindumy wrote:

Hello,
Thanks for answering.
They are in *.properties.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-localize-options-in-drop-down-tp4661751p4661761.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to localize options in drop down.

2013-10-09 Thread cosmindumy
Yes,
Now they are unicode. Something like property.date=F\u00E4llig ab.
But I want to use native characters in propery file as is easier to handle.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-localize-options-in-drop-down-tp4661751p4661763.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to localize options in drop down.

2013-10-09 Thread Vit Rozkovec
If you would be using Eclipse IDE you can use this: 
http://propedit.sourceforge.jp/index_en.html


On 9.10.2013 10:45, cosmindumy wrote:

Yes,
Now they are unicode. Something like property.date=F\u00E4llig ab.
But I want to use native characters in propery file as is easier to handle.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-localize-options-in-drop-down-tp4661751p4661763.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to localize options in drop down.

2013-10-09 Thread Sven Meier

Well, use *.utf8.properties and then you can just use UTF-8 encoding:

  property.date=Fällig ab


Sven

On 10/09/2013 10:45 AM, cosmindumy wrote:

Yes,
Now they are unicode. Something like property.date=F\u00E4llig ab.
But I want to use native characters in propery file as is easier to handle.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-localize-options-in-drop-down-tp4661751p4661763.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: How to localize options in drop down.

2013-10-09 Thread Paul Bors
Can't you switch to XML and encode your file in UTF-8?
Name your file MyApplication_en_US.properties.xml

?xml version=1.0 encoding=UTF-8?
!DOCTYPE properties SYSTEM http://java.sun.com/dtd/properties.dtd;
properties
!-- ... (other entries) --
!-- This is a property example that uses Unicode \u00E4 --
entry key=property.dateFällig ab./entry
!-- ... (other entries) --
/properties

You can write your own tool to convert your properties file to the XML
format.

~ Thank you,
  Paul Bors

-Original Message-
From: Vit Rozkovec [mailto:rozkovec...@email.cz] 
Sent: Wednesday, October 09, 2013 4:49 AM
To: users@wicket.apache.org
Subject: Re: How to localize options in drop down.

If you would be using Eclipse IDE you can use this: 
http://propedit.sourceforge.jp/index_en.html

On 9.10.2013 10:45, cosmindumy wrote:
 Yes,
 Now they are unicode. Something like property.date=F\u00E4llig ab.
 But I want to use native characters in propery file as is easier to
handle.



 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/How-to-localize-options-in-
 drop-down-tp4661751p4661763.html Sent from the Users forum mailing 
 list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to localize options in drop down.

2013-10-08 Thread cosmindumy
Solved the localization problem. 
I didn't know wicket convention about localization in choices.
There is still the problem with utf-8. 
Thanks.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-localize-options-in-drop-down-tp4661751p4661753.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to localize options in drop down.

2013-10-08 Thread Sven Meier

Hi,

in which files do you keep your localized strings? *.properties, 
*.properties.xml or *.utf8.properties?


Sven

On 10/08/2013 05:49 PM, cosmindumy wrote:

Solved the localization problem.
I didn't know wicket convention about localization in choices.
There is still the problem with utf-8.
Thanks.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-localize-options-in-drop-down-tp4661751p4661753.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org