Quark
Quark

Reputation: 1618

Java - Swing Component Localization - Where to find language bundles?

Background:

I would like to have translated JFileChooser component in my application.

There are tutorials how to do it:

How can I add localization to JFileChooser for a locale that is not supported by default?

https://beradrian.wordpress.com/2007/07/30/internationalization-for-swing-standard-components

However if I understand well, you have to make your own bundle for every language.

I would expect there is some sort of "official translations repository" for the main component like JFileChooser, but I'm not able to find anything like it.

My question is:

Does anyone know about some official or unofficial collection of the resource bundles for swing components like JFileChooser?

Upvotes: 1

Views: 788

Answers (1)

Quark
Quark

Reputation: 1618

Not all I need, but can be useful (de, es, fr, it, ja, ko, sv, zh_CN, zh_TW):

https://github.com/samskivert/ikvm-openjdk/tree/master/jdk/src/share/classes/com/sun/java/swing/plaf/windows/resources

+ (ru, el, no, tr)

Upvotes: 1

Related Questions