Search 
Search Forums:


 




How to translate

Reply to Post
UserPost

8:11 pm
May 20, 2008


momo-i

Guest

This is tip which is useful when you translate in your language.
The way to translation differ a little by Windows, MAC and UNIX.

If you are using Windows, Linux, or Mac OS X, you can use following application to translate:

PoEdit

before translation
1. you run PoEdit.
2. File -> New catalog from POT file…
3. select translations\aWP.pot

Settings for example:

Project name and version: AJAXed WordPress VERSION Japanese
Team: YOURNAME
Team’s email address: YOUREMAIL
Language: Select your language.
Country: Select your country.
Charset: UTF-8(not change)
Source code charset: UTF-8
Plural Forms: Set blank.

4. Save to aWP-xx_XX.po (xx is your WPLANG).
5. Start translation.

NOTE: you can use text editor, but you must save text by UTF-8.

If you are using Unix on GUI, you can also use PoEdit like Windows and Mac. or, If you are using Unix on CUI, you can use following application to translate:

xgettext, msginit, msgfmt, and msgmerge (gettext package), editor(vi, emacs, etc..)

1. you change directory(translations).
2. # msginit -l YOURLANG(on UNIX) -i aWP.pot -o aWP-xx_XX.po
Example: # msginit -l ja_JP.UTF-8 -i aWP.pot -o aWP-ja.po
3. edit aWP-xx_XX.po
4. # msgfmt -v -c aWP-xx_XX.po -o aWP-xx_XX.mo

When you finish translating and save a file, po/mo file is in
the translations directory. Then you archived these files in zip-file, and can send to Aaron.

Feel free please :) when there are lack information and a question, etc.

11:43 am
May 22, 2008


Aaron

Admin

posts 245

Thanks Momo-i for the tutorial.

1:56 am
August 1, 2008


Steven

Guest

I’m on Mac and i’ll be able to translate aWP in French, How can i do that?

8:47 am
August 4, 2008


Aaron

Admin

posts 245

Hi Steven, poedit also works on a Mac OSX. I’ve edited the original post.

As for the translation for French, someone started one originally, but never finished it, so if you want to use it as a base to start from you can get it from the SVN repository. You would just need to open that file with Poedit.

8:29 am
August 7, 2008


Steven

Guest

Alright, i’ll get on it as soon as i have a bit of time !

I owe you that one ;)

Reply to Post


Reply to Topic: How to translate

Name (Required):

EMail (Required):

Website):

Guest URL (required)

Math Required!
What is the sum of: 1 + 1        (Required)

Topic Reply:


 

About the Anthology of Ideas forum

Currently Online:

6 Guests

Maximum Online: 33

Forums:

Groups: 2

Forums: 6

Topics: 212

Posts: 671

Members:

There are 1 members

There are 199 guests

Aaron has made 245 posts

Top Posters:

Administrator: Aaron