Sean,
From what i've gathered:
- PO is good for editing
- .properties are good for programming (faster from what i heard and
less verbose)
I see that you've build a Properties to PO tool, but how do you go back
to properties ? I'm not sure if you've built a tool to migrate or to be
used back and forth (bi-directional).
I'm definitely interested by such tools for JBoss Portal.
Thomas
Sean Flanigan wrote:
G'day,
I've been working on some translation infrastructure for JBoss Tools.
I'm pleased to report that we've already got some Japanese translations
for JBoss Tools, courtesy of a contribution by Shinobu Nogami. Any help
with reviewing, correcting, or completing these translations would be
appreciated! Translations for other languages would be great too.
My build scripts for jbosstools-l10n use Tennera Ant-Gettext to convert
between .properties files (ResourceBundles) in the Java source code and
Gettext PO/POT files. A bit like Translate Toolkit's prop2po but with
one important difference: an entire directory tree of properties files
can be reduced to a single POT file (not a tree of POT files).
I hope this will make life easier for translators, since dealing with
hundreds of .properties files is hard enough in a good developer's IDE.
From what I've seen, the open source translation editors just aren't
that good at dealing with lots of small files efficiently. I'm not
familiar with any commercial translation tools, but I don't think many
of them would edit .properties files directly - they would convert to
another file format, or a database).
PO files have their flaws, but they're still a big improvement over
.properties for L10n purposes, and they are what the Red Hat L10n team
mostly uses in current translation workflows (as I understand it).
Anyway, the POT templates for JBoss Tools 3.1, and also the Japanese PO
files, are currently living in a Mercurial repository here:
http://bitbucket.org/seanf/jbosstools-l10n/ (Obviously, that's not meant
to be the permanent location! And I'm not married to Mercurial, though
having a DVCS would be nice.)
Ultimately, I suggest these particular translations should probably live
somewhere like this:
http://anonsvn.jboss.org/repos/jboss-l10n/jbosstools/3.1 [or maybe
.../trunk]
But where to host them is the subject of my other post...
Sean.
------------------------------------------------------------------------
_______________________________________________
jboss-l10n mailing list
jboss-l10n(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-l10n