Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
In poedit, it seem to me that could translate by one sentence unit.
09-17-2015, 01:34 AM,
#1
In poedit, it seem to me that could translate by one sentence unit.

Hi
I am trying to translate messages into ko_KR messages.po file.
I try to use poedit for the first time.
In poedit, it seem to me that could translate by one sentence unit.
I would like to translate all messages at once by using the Google Translator.
Please let me know any possible way.
Thank you.
Reply
09-17-2015, 03:46 AM,
#2
RE: In poedit, it seem to me that could translate by one sentence unit.
Hi, maybe i can help..

I have tried this with varying success.
https://translate.google.com/toolkit

Notice that Google Translate only allows you to upload maximum 1Mb files so you need to split the po file into several smaller files.
Even if you have a file under 1Mb Google Translate may complain with "The document did not have any translatable content." message.
..then try with smaller files (fewer lines) until you succeed.

For creating a brand new en_GB.po file from the original messages.pot template i used the following command from shell in locale/en_GB.utf8/LC_MESSAGES
msginit --locale=en_GB
This will make a new en_GB.po file with empty message strings.
I don't know how to do this in poedit..

Jan
Reply
09-17-2015, 11:29 AM,
#3
RE: In poedit, it seem to me that could translate by one sentence unit.

Wow !
Was there such a thing?
I was thinking of trying to manually translate one by one.
While I dont know still more, I'll try your guide.
Thank you very much.
Reply
09-17-2015, 01:18 PM,
#4
RE: In poedit, it seem to me that could translate by one sentence unit.
The strings are automatically extracted using xgettext() function to locale/en_GB.utf8/LC_MESSAGES/messages.pot - this can be run using the utility under tool/MakeRelease.sh shell script. So this file
locale/en_GB.utf8/LC_MESSAGES/messages.pot
will always be the latest strings as at the time of each file release.
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
09-18-2015, 11:56 AM,
#5
RE: Here I attach a file ko_KR messages.po and messages.mo
Here I attach a file ko_KR messages.po and messages.mo.
This file is created by using the Google translator toolkit.
It is not my fault this file is incomplete.
Thank you for janb guided good way for me.
Thank you.


Attached Files
.zip   LC_MESSAGES.ZIP (Size: 385.59 KB / Downloads: 2)
Reply
09-18-2015, 07:29 PM,
#6
RE: In poedit, it seem to me that could translate by one sentence unit.
I will add this to the repository. Thanks for submitting.
What are the appropriate values for the LanguagesArray?

Code:
$LanguagesArray['ko_KR.utf8']['LanguageName'] = 'Korean';
$LanguagesArray['ko_KR.utf8']['WindowsLocale'] = 'korean';
$LanguagesArray['ko_KR.utf8']['DecimalPoint'] = '.';
$LanguagesArray['ko_KR.utf8']['ThousandsSeparator'] = ',';
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
09-18-2015, 07:54 PM, (This post was last modified: 09-18-2015, 07:59 PM by phil.)
#7
RE: In poedit, it seem to me that could translate by one sentence unit.
I found a couple of duplicates but removed them and it compiled ok
   
I have added the files to svn repository.
https://sourceforge.net/p/web-erp/code/H..._MESSAGES/
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
09-19-2015, 02:02 AM,
#8
RE: In poedit, it seem to me that could translate by one sentence unit.

LanguageName by korean is "한국어"

Code:
...
$LanguagesArray['ko_KR.utf8']['LanguageName'] = '한국어';
...


Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)