Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [babel-dev] Types of nl folders


The article in the first link described 2 "basic types" of language packs:
- "NLpacks" that contain translations of the NL features and translations of properties files in the code plug-ins
- "FeatureOverlays" that contain translations of the feature.properties files

Each type of language pack is sub-divided into different language groups:
- group 1 contains translations in German, Spanish, French, Italian, Japanese, Korean, Brazilian Portuguese, Traditional Chinese and Simplified Chinese
- group 2 contains translations in Czech, Hungarian, Polish and Russian
- group Bidi contains translations in Arabic

That's the practice for Eclipse 3.1 and many releases before that. The "NLpacks" work in the major release and all the maintenance releases (for example, 3.1, 3.1.x). However, the "FeatureOverlays" have to be generated in every major release and all the maintenance releases because they have to match the code feature version numbers.

The "FeatureOverlays" only contain translations of the feature.properties files. We did a survey. The consensus was that it's not worth the trouble to regenerate the "FeatureOverlays" for every maintenance release. Therefore, we stopped producing the "FeatureOverlays" after Eclipse 3.1.

In Eclipse 3.2, another language group was added:
- group 2a contains the translations in Danish, Dutch, Finnish, Greek, Norwegian, Portuguese, Swedish and Turkish
- Hebrew was also added to group Bidi

The different language groups were just a convenient way to package, install, and load multiple language packs at the same time. If you prefer, you could create another group A, for example, to include translations in all languages.

To answer your question, if you move Russian into group 1, Eclipse can still find the translations. The main thing Java Resource Bundle looks for is the language suffix in the properties file, like message_ru.properties.

Kit Lo
IBM Eclipse SDK Globalization Technical Lead
Eclipse Babel Project Co-lead



Margaret Wong <ywong@xxxxxxxxx>
Sent by: babel-dev-bounces@xxxxxxxxxxx

04/21/2009 11:48 PM

Please respond to
Babel committers mailing list <babel-dev@xxxxxxxxxxx>

To
Babel committers mailing list <babel-dev@xxxxxxxxxxx>
cc
Subject
[babel-dev] Types of nl folders





Hi Babel Team,

This wiki page indicates there are six types of language packs:

http://www.eclipse.org/articles/Article-Speak-The-Local-Language/article.html

Whereas this page indicates there are four types of language packs:

http://archive.eclipse.org/eclipse/downloads/drops/L-3.2.1_Language_Packs-200609210945/index.php

What is the reason for separating languages out into these different packs, is it a functional issue or a organizational issue?  Furthermore, would Eclipse still properly load a nl2 language if those resources were in the nl1 jars (i.e. Would Russian still load if the resources resided in the nl1 plugin jar files)?

Thanks,
Margaret
_______________________________________________
babel-dev mailing list
babel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/babel-dev


Back to the top