Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion add new translation
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alexander Watson  
View profile  
 More options May 9 2012, 9:19 am
From: Alexander Watson <atom.liq...@googlemail.com>
Date: Wed, 9 May 2012 06:19:45 -0700 (PDT)
Local: Wed, May 9 2012 9:19 am
Subject: Re: add new translation
Thanks for reply. Yes we make Russian translate, you can check it
https://www.transifex.net/projects/p/freemed/resource/gwtpot/l/ru_RU/
Still don't get it, i've made directory locale/ru_RU/LC_MESSAGES, put
there gwt.po.
When i run make in locale, i get:
~/Downloads/freemed-0.8.4/locale$ make
# Nothing
~/Downloads/freemed-0.8.4/locale$

I have no scripts/gettext2json.php, only perl scripts and bash like
gettext2gettextXML.sh.
What is JSON for? I'm looking for xml, cause your translations have
only xml format.

On May 9, 7:34 pm, Jeff <free...@gmail.com> wrote:

> On Wed, May 9, 2012 at 5:36 AM, Alexander Watson

> <atom.liq...@googlemail.com> wrote:
> > Hello.
> > How can i transform *.po(from .transifex.com) to *.xlm(locale/lang) ?
> > I've tried to use GettextXML_Catalog.pl and others scripts, but non of
> > this help me.

> It's a bit easier than that now. You can use scripts/gettext2json.php
> to convert the GNU gettext formatted po file to convert for the UI.
> The simple way to do that (since most of it is automated in the build
> system):

> 1) Make a directory under locale like pl_PL/LC_MESSAGES and drop your
> gwt.po file in there.
> 2) Run "make" in locale. It'll generate the appropriate compiled file (gwt.mo)
> 3) Use that nice scripts/gettext2json.php script to convert to the GWT
> JSON file, which is dropped in:
> $filename = dirname(dirname(__FILE__)) .
> "/ui/gwt/src/main/webapp/resources/locale/" . $my_locale . ".json";

> Let us know if you've added a new translation so we can check it in!

> --
> Thanks,
> Jeff
> (j...@freemedsoftware.org)
> FreeMED Software Foundation, Inchttp://freemedsoftware.org/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.