-
1. Re: JBossIDE localization
maxandersen Jan 3, 2006 3:07 AM (in response to mculpepper)i haven't done much localization for hibernate tools up till now .... to much conflicting ways of doing it while i started so I planned to do it when I found the "way". ...unfortunately i haven't found it yet (haven't looked hard though)
I plan to fix/find out when I clean up for the move to jboss cvs. -
2. Re: JBossIDE localization
cecconae Jan 3, 2006 6:43 PM (in response to mculpepper)Hi,
I´ll be looking JBoss Eclipse IDE to see how it handle
localized strings and soon I´ll put some news. -
3. Re: JBossIDE localization
cecconae Feb 5, 2006 2:28 PM (in response to mculpepper)Hi,
I studied how we could organize localized string files in Eclipse
plugins, later we could do that for features as well. There
are many ways to do that. They could be packed in the plugin
folder or packed in a plugin fragment like Eclipse Foundation does :
Eclipse Example :
Plugin ..........: org.eclipse.jdt.debug_3.1.1 ( English strings only )
|
----- plugin.properties
|
----- jdimodel.jar -> JDIMessages.Properties
Plugin Fragment .: org.eclipse.jdt.debug.nl1_3.1.1 ( Translated strings )
|
----- plugin_pt_BR.properties
----- plugin_it.properties
----- plugin_fr.properties
----- ...
|
----- nl1.jar -> JDIMessages_pt_BR.Properties, JDIMessages_fr.Properties
Following that model it would be possible to distribute a
language pack like Eclipse Foundation does and it
could be separated from main project thread. The
only disvantage I can see is that plugin folders
will double.
JBoss Plugin Example :
Plugin ..........: org.jboss.ide.eclipse.jdt.core_1.4.0 ( English strings only )
|
----- plugin.properties
|
----- org-jboss-ide-eclipse-jdt-core.jar ->JDTCoreMessages.Properties
Plugin Fragment .: org.jboss.ide.eclipse.jdt.core.nl1_1.4.0 ( Translated strings )
|
----- plugin_pt_BR.properties
----- plugin_it.properties
----- plugin_fr.properties
----- ...
|
----- nl1.jar -> JDTCoreMessages_pt_BR.Properties
Can you analize that ? let me know
about your conclusions or doubts. -
4. Re: JBossIDE localization
maxandersen Feb 6, 2006 1:11 AM (in response to mculpepper)thanks for looking into i18n for jboss ide.
Any reason why those properties isn't just put in the main plugin ? -
5. Re: JBossIDE localization
cecconae Feb 12, 2006 2:27 PM (in response to mculpepper)It is possible, but it could causes some side effects.
Below I pointed out some of them that we need to
think about. Put localization resource files in
the main plugin or in a separated project is an
strategic decision.
1- Normally string files go to people that work
only with translation. When you have a project
with those files only people don´t need to go
throughtout the project looking every file type
to locate only those files that need translation.
Translation files would be separated from other
files.
2- If translated string files are put in the main
plugin, won´t be possible to pack an English version
only. You must translate all the strings before
launch a new version. With a separated project
would be possible to build a plugin compatible
version lang pack and make it available after
the main plugin.
3- Would be possible to split plugins management,
if necessary. ( Main plugin / Language pack plugin ) -
6. Re: JBossIDE localization
maxandersen Feb 12, 2006 2:57 PM (in response to mculpepper)ah - i misunderstood the first time; i thought you were talking about making a project per translation.
i guess having them in package fragments make sense; but lets get some translations first ;) -
7. Re: JBossIDE localization
cecconae Feb 15, 2006 5:51 PM (in response to mculpepper)Ok Max, I am starting the translation. When I have some files
translated I´ll send to you. -
8. Re: JBossIDE localization
cecconae Apr 14, 2006 3:44 PM (in response to mculpepper)Just to ping, I am working in translation.
Antonio Edson Ceccon