To clarify, I'm seeing the proposal shaping up like this:
1. move the exiting English.js and Spanish.js translation content over
to gettext Portable Object (PO) files
2. use jsgettext within the .js webapp to read the PO, and translate
our strings.
That's great. I'm +1 on this idea, with the addition that we maintain
the PO translation files in a single place available for use
throughout the project, to both java and javascript modules (as
opposed to locking translations away in the webapp / javascript
specific). My question is in what module do we house the PO files?
Do we use an exiting module (e.g., opentripplanner-utils) or create a
new module (e.g., opentripplanner-localizations)?
On Apr 26, 8:49 am, Nicholas Bergson-Shilcock
<
nichola...@openplans.org> wrote:
> Excerpts from jvhigon's message of Mon Apr 26 01:34:58 -0400 2010:
>
> > Hello,
> > I've never used jsgettext so I can't help doing a patch at this moment
> > (I could contribute with the changes that I commented few days ago).
> > The approach with gettext seems to be better than the OpenLayers
> > solution (I don't know if OL have already worked this problem out). I
> > wiil wait for your answer in order to do the patch.
>
> If Dave or I took a pass at moving what's currently localized to the gettext
> system, would you be able to then help out in bringing some of the remaining
> items (e.g., those listed in ticket #220
http://opentripplanner.org/ticket/220)