<i18n dev> Newbie questions

Jiri Vanek jvanek at redhat.com
Wed Jan 30 04:06:27 PST 2013


On 01/29/2013 03:16 AM, Jakob Wisor wrote:
> "Jiri Vanek"<jvanek at redhat.com> wrote:
>> On 01/28/2013 07:47 PM, Omair Majid wrote:
>>> Hi,
>>>
>>> On 01/27/2013 06:18 AM, Jakob Wisor wrote:
>>>> I have been working with the javaws deployment tool recently and have
>>>> noticed that it lacks a localization for Polish. So, I looked for the
>>>> localized resource files and thought I could provide that. I was
>>>> quickly able to localize javaws' syntax description in
>>>> jre/lib/deploy/messages.properties. But I was a little bit stuck with
>>>> the rest. After building a Polish ListResourceBundle based on
>>>> deploy.jar/com/sun/deploy/resources/Deployment.class and successfully
>>>> testing it, I was wondering whether the source code for the
>>>> deployment tool is included in OpenJDK. Greping OpenJDK's source code
>>>> brought no enlightenment. Is the deployment tool indeed not part of
>>>> OpenJDK? If not, where should I send my patch for review to?
>>>
>>> You are correct: OpenJDK does not include the source for javaws. The
>>> javaws implementation that is shipped with Oracle's JDK/JRE is
>>> proprietary. I don't know where you would send patches for that.
>>>
>>> Some of us are working on an open source implementation of javaws,
>>> called IcedTea-Web [1], that does include include the source and accepts
>>> localization patches for any language. It is not included in OpenJDK,
>>> though most Linux distributions do ship it along with OpenJDK as the
>>> plugin and javaws implementation. We normally hang out on
>>> distro-pkg-dev at openjdk.java.net (cc'ed).
>>>
>>>> Are there any plans or any intention to localize OpenJDK to other
>>>> languages than the existing en, ja, and zh? Would localizations to de
>>>> and pl be welcomed? If so, where should I send patches for review to
>>>> (yes, I have read the contributors and faq sections, but I am still
>>>> confused)?
>>>
>>> I can't speak for OpenJDK, but for IcedTea-Web, we are willing to
>>> localize to any language that you can provide translations for.
>>> distro-pkg-dev at openjdk.java.net is the right place for any patches for
>>> IcedTea-Web.
>>>
>>> Thanks,
>>> Omair
>>
>> IcedTea-web is currently localised to CZ-cs an (default) English. We are looking forward for translation!
>>
>> You can see that localisation is simple file that you are already familiar with -
>> http://icedtea.classpath.org/hg/icedtea-web/file/74a70e0b15ef/netx/net/sourceforge/jnlp/resources/Messages_cs_CZ.properties
>> http://icedtea.classpath.org/hg/icedtea-web/file/74a70e0b15ef/netx/net/sourceforge/jnlp/resources/Messages.properties
>>
>> So the only think you need to do is to provide transalted Messages_pl_PL.properties
> 
> Is falling back to a default resource for a specific language handled correctly, e.g. de_AT falls back to de_DE?

The locales are failing back as java handles it. So the chain language+country -> language ->
default, should be kept
> 
>> Currently there is no Polish developer active, so your file will be probably not-checked :)

I forgot Adam do speak a bit of Polish!
> 
> Just for the sake of fairness, I am actually not simply Polish, so please do not stick any premature frivolous attributes to me.

Sorry, however my sentence was not mentioned to do add any attribute - never mind :)
> 
>> I would like to help you with any problems you may encounter - both by developer point of view and from guy who provided CZ translation.
>>
>> J.
> 
> Thank you guys. I would be really glad to help you, but unfortunately there is a problem while cloning the repository on Windows systems since they do not support case-sensitive file systems by default.
> 
> tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1_x_2e.html
> tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1_x_2E.html
> 
> are causing an abort. Please resolve this issue. 

I see:((  It will not be solved as fast as one want.


I have looked into the Mercurial configuration and manual, but there is no option to rename
conflicting file names. The operation is simply aborted. But, there is an option that emits a
warning when commiting file names that may cause problems on different operating systems. Might be a
hint for the future. ;)
> I would rather not download a tgz or tbz since I still will not be able to submit a patch.

Actually you can live with tarball pretty fine as patch is not needed. Or even without icedtea-web
sources/compilation completely -   the only necessary output of yours is the
Messages_pl_PL.properties file.

> 
> Btw, I do not run a Linux machine, not even as a VM and I do not have the time to set one up. And as far as I understand icedtea-web is not available for Windows, so some of you guys is going to have to test those new localized property files.

Icedtea-web itself should be compilable on windows, however I'm afraid no one ever tried :( And I'm
pretty sure there will be some complications.

So yes, testing (Also crating of automated tests) will be necessary and probably I will do it.


Thanx again for your kind offer
J.



More information about the distro-pkg-dev mailing list