Current time: 11-17-2024, 02:38 AM Hello There, Guest! (LoginRegister)


Post Reply 
New way to translate ispCP
Author Message
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #1
New way to translate ispCP
Ok, since r679 we will now be using .po files to handle the translations.
Many changes were made to the current translations so almost all need to be updated.

I imported the existing translations and converted them into .po files.
If you notice that there's a missing .po please tell me the language code of that translation, because there was one of the exising translations that didn't have the required info.

The source .pot is language-files/ispCP.pot
At the moment all the .po files are up-to-date to the current .pot

Malte/Benedikt: can any of you update the links of the website so they now point to the .po files?

I will try to finish the script that converts the .po files back into the A=B format by tomorrow morning.

NOTE: all the languages were imported automatically, and all those with msgid = msgstr were marked as fuzzy.
(This post was last modified: 06-27-2007 01:52 PM by raphael.)
06-27-2007 01:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #2
RE: New way to translate ispCP
How should we Implement this on Translation Page; any suggestions?
06-27-2007 06:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #3
RE: New way to translate ispCP
Well, people should instead download the .po files and then upload them (possibly as tickets in Trac).

A script would convert those .po files and update the A=B files.
I know it sounds like a lot of things to do, but it's quite simple and easier to manage changes compared against the current system.
06-28-2007 02:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BioALIEN Offline
Public Relations Officer
*****
Dev Team

Posts: 620
Joined: Feb 2007
Reputation: 5
Post: #4
RE: New way to translate ispCP
I like this approach. Very nice Raphael.
06-28-2007 10:03 AM
Find all posts by this user Quote this message in a reply
adigit Offline
Junior Member
*

Posts: 68
Joined: Apr 2007
Reputation: 0
Post: #5
RE: New way to translate ispCP
good, then we can use poEdit to do the translation easily
06-28-2007 03:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #6
RE: New way to translate ispCP
nice action raphael Smile Seems you have a big plan behind your mass changes Tongue
06-28-2007 04:26 PM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #7
RE: New way to translate ispCP
thanks everybody

Zothos Wrote:Seems you have a big plan behind your mass changes Tongue
hehe Tongue
06-29-2007 03:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #8
RE: New way to translate ispCP
By the way... using this approach requires the Language-Team information to be correctly set (e.g. Spanish <es@li.org>, e.g. Spanish (Argentina) <es_ar@li.org>)
The email address doesn't really matter, but the first part does, because the language information is read from that entry.

And about
Quote:If you notice that there's a missing .po please tell me the language code of that translation, because there was one of the exising translations that didn't have the required info.
Here is more info:
Quote:E | File thai/ispcp1.0.0-thai does not provide a ispcp_languageSetlocaleValue entry

By the way, I'll try to set the Language-Team information of the existing .po files based on the current ispcp_language entry of the A=B files.
(This post was last modified: 06-29-2007 05:26 AM by raphael.)
06-29-2007 05:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
greg Offline
Junior Member
*

Posts: 27
Joined: Apr 2007
Reputation: 1
Post: #9
RE: New way to translate ispCP
raphael Wrote:A script would convert those .po files and update the A=B files.

Good but... where is this script ? I suppose you have made it raphael ?

I need it if I want to test my new french translation...

Thanks Wink
07-13-2007 04:05 AM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #10
RE: New way to translate ispCP
greg Wrote:Good but... where is this script ? I suppose you have made it raphael ?
In my local PC... it is still under development and I've been adding some new features.
greg Wrote:I need it if I want to test my new french translation...
I'll setup an online converter so you can convert them.
I don't plan to publish the x64PoPot class until it is ready (that means: plurals support & charset conversion)
07-13-2007 05:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)