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
add new translation
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
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, 5:36 am
From: Alexander Watson <atom.liq...@googlemail.com>
Date: Wed, 9 May 2012 02:36:51 -0700 (PDT)
Local: Wed, May 9 2012 5:36 am
Subject: add new translation
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.

 
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.
Jeff  
View profile  
 More options May 9 2012, 7:34 am
From: Jeff <free...@gmail.com>
Date: Wed, 9 May 2012 07:34:36 -0400
Local: Wed, May 9 2012 7:34 am
Subject: Re: [freemed-support] add new translation
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, Inc
http://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.
Alexander Watson  
View profile  
 More options May 9 2012, 9:26 am
From: Alexander Watson <atom.liq...@googlemail.com>
Date: Wed, 9 May 2012 06:26:58 -0700 (PDT)
Local: Wed, May 9 2012 9:26 am
Subject: Re: add new translation
can't see my message

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


 
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.
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:


 
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.
Jeff  
View profile  
 More options May 9 2012, 10:45 am
From: Jeff <free...@gmail.com>
Date: Wed, 9 May 2012 10:45:17 -0400
Local: Wed, May 9 2012 10:45 am
Subject: Re: [freemed-support] Re: add new translation
On Wed, May 9, 2012 at 9:19 AM, Alexander Watson

<atom.liq...@googlemail.com> wrote:
> 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.

You're using an older version of FreeMED. I was suggesting doing this
from trunk, since that's what the translation is for.

--
Thanks,
Jeff
(j...@freemedsoftware.org)
FreeMED Software Foundation, Inc
http://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.
Alexander Watson  
View profile  
 More options May 9 2012, 10:49 am
From: Alexander Watson <atom.liq...@googlemail.com>
Date: Wed, 9 May 2012 07:49:53 -0700 (PDT)
Local: Wed, May 9 2012 10:49 am
Subject: Re: add new translation
Forgive my stupidity, but i can't find svn link, is it there
http://sourceforge.net/projects/freemed/? or maybe github?

On May 9, 10:45 pm, Jeff <free...@gmail.com> wrote:


 
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.
Jeff  
View profile  
 More options May 9 2012, 10:53 am
From: Jeff <free...@gmail.com>
Date: Wed, 9 May 2012 10:53:33 -0400
Local: Wed, May 9 2012 10:53 am
Subject: Re: [freemed-support] Re: add new translation
On Wed, May 9, 2012 at 10:49 AM, Alexander Watson

<atom.liq...@googlemail.com> wrote:
> Forgive my stupidity, but i can't find svn link, is it there
> http://sourceforge.net/projects/freemed/? or maybe github?

The link is http://svn.freemedsoftware.org/freemed/trunk -- but you
may have some trouble as the primary DNS server is having issues
today. (I've been planning on making a move to github, but the project
is pretty huge so it's a bit of an undertaking....)

As a hack, if you add this to your /etc/hosts file, you will have no
trouble accessing it today:

188.40.245.180          svn.freemedsoftware.org

Most of the rest of our projects have been migrated to github, here:
https://github.com/freemed , including REMITT (medical billing
software) and FreeSHIM (medical device interface software).

--
Thanks,
Jeff
(j...@freemedsoftware.org)
FreeMED Software Foundation, Inc
http://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.
Alexander Watson  
View profile  
 More options May 9 2012, 1:10 pm
From: Alexander Watson <atom.liq...@googlemail.com>
Date: Wed, 9 May 2012 10:10:14 -0700 (PDT)
Local: Wed, May 9 2012 1:10 pm
Subject: Re: add new translation
Now, i can't launch http://localhost/hpp_new/ui/gwt/www/FreemedInterface.html,
there is no such path.
I've seen successfull message after install, and then, every time get
page from above.
What i do wrong?

 
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.
Jeff  
View profile  
 More options May 9 2012, 2:06 pm
From: Jeff <free...@gmail.com>
Date: Wed, 9 May 2012 14:06:50 -0400
Local: Wed, May 9 2012 2:06 pm
Subject: Re: [freemed-support] Re: add new translation
On Wed, May 9, 2012 at 1:10 PM, Alexander Watson

<atom.liq...@googlemail.com> wrote:
> Now, i can't launch http://localhost/hpp_new/ui/gwt/www/FreemedInterface.html,
> there is no such path.
> I've seen successfull message after install, and then, every time get
> page from above.
> What i do wrong?

You probably need to build the interface first. Run "make" in ui/gwt
to build it, which should grab all dependencies with maven, etc.

To initialize the db, you're going to want to make a functional
"lib/settings.php" file and run "php scripts/install.php"

That's the "nickel tour" of the install. ;)

--
Thanks,
Jeff
(j...@freemedsoftware.org)
FreeMED Software Foundation, Inc
http://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.
Alexander Watson  
View profile  
 More options May 11 2012, 12:32 am
From: Alexander Watson <atom.liq...@googlemail.com>
Date: Thu, 10 May 2012 21:32:57 -0700 (PDT)
Local: Fri, May 11 2012 12:32 am
Subject: Re: add new translation
For smbd with same goal, check file permission while rebuild webapp
with make.
Also u need to call sql procedure for your language, after
installation:

CALL i18n_PopulateLanguage( 'ru_RU', 'Russian');

To Jeff:
thanks for help, there is no mention in software requirements about
marven2 and mysqli extension.

On May 10, 2:06 am, Jeff <free...@gmail.com> wrote:


 
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.
Jeff  
View profile  
 More options May 11 2012, 11:41 am
From: Jeff <free...@gmail.com>
Date: Fri, 11 May 2012 11:41:33 -0400
Local: Fri, May 11 2012 11:41 am
Subject: Re: [freemed-support] Re: add new translation
On Fri, May 11, 2012 at 12:32 AM, Alexander Watson

<atom.liq...@googlemail.com> wrote:
> For smbd with same goal, check file permission while rebuild webapp
> with make.
> Also u need to call sql procedure for your language, after
> installation:

> CALL i18n_PopulateLanguage( 'ru_RU', 'Russian');

> To Jeff:
> thanks for help, there is no mention in software requirements about
> marven2 and mysqli extension.

Good call -- I was pretty sure that the mysql extension was mentioned,
but I didn't document the maven2 one. I'll update that in Subversion.

I'm planning on making a move to github at some point in the near
future, both for availability and for the "social" aspect. As I had
mentioned earlier, FreeSHIM and REMITT are already there. (
https://github.com/freemed )

--
Thanks,
Jeff
(j...@freemedsoftware.org)
FreeMED Software Foundation, Inc
http://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.
Alexander Watson  
View profile  
 More options May 12 2012, 7:05 am
From: Alexander Watson <atom.liq...@googlemail.com>
Date: Sat, 12 May 2012 04:05:21 -0700 (PDT)
Local: Sat, May 12 2012 7:05 am
Subject: Re: add new translation
I found words, which not translated, for example on dashbords, in
DashboardNew.java.
There are no lang func _(), so i add, and it working.
Do you have freemed version with fully translated interface?

On May 11, 11:41 pm, Jeff <free...@gmail.com> wrote:


 
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.
Jeff  
View profile  
 More options May 12 2012, 8:02 am
From: Jeff <free...@gmail.com>
Date: Sat, 12 May 2012 08:02:40 -0400
Local: Sat, May 12 2012 8:02 am
Subject: Re: [freemed-support] Re: add new translation
On Sat, May 12, 2012 at 7:05 AM, Alexander Watson

<atom.liq...@googlemail.com> wrote:
> I found words, which not translated, for example on dashbords, in
> DashboardNew.java.
> There are no lang func _(), so i add, and it working.
> Do you have freemed version with fully translated interface?

It looks like I missed internationalizing that file -- I'll have to
adjust that and push a new version of the gwt.pot file. The trick is
to declare a static import:

import static org.freemedsoftware.gwt.client.i18n.I18nUtil._;

which deals with all of the i18n functionality. It's also important to
make sure that we're not internationalizing internal keys or anything
used by the backend, but rather just display strings.

--
Thanks,
Jeff
(j...@freemedsoftware.org)
FreeMED Software Foundation, Inc
http://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.
End of messages
« Back to Discussions « Newer topic     Older topic »