HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Translating To Japanese - LaunchPad

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#70485 (In Topic #14912)
Avatar

Fan in action

Japanese translation is not available on LaunchPad (6.0, 0% translated), so I will be contributing.
I tried translating the iotds file on LaunchPad to see if I could get better results than the ocportal built-in tool.
I downloaded the languages tarball and put the iotds-ja.po file in the lang_custom/JA folder.
The first thing I noticed was that the string for the Japanese text was missing. Upon checking the .po, I found that the strings were all blank. Not to be discouraged, I filled in the strings with Japanese text.
When checking the site with Firefox, i noticed that "Auto-Detect : Japanese" was not working, and I had to select "View:Character Encoding:Unicode (UTF-8)" each time I loaded the page, even if UTF-8 was already selected as the character encoding in Firefox. Strange.

Also, I still can't get a Japanese RSS feed to display properly. How do I do that ?
I changed lang/EN/global.ini to utf-8 character encoding, but that did not work.
Is that related to the MySql database in anyway? Not sure what I have to change and where.

If someone could post a checklist of things to do for foreign language support it would be helpful.
Thank you.

Additional: In Configuration, I turned off Language Caching under Site Options and I cant get it to turn back on.
I check mark it, apply it, "your action was successful", I return to Site Options, Language Caching is unchecked. The site is now sloooow. Maybe a bug ?:o


Last edit: by samurai_jack
Back to the top
 
Posted
Rating:
#70493
Avatar

ocStaff (admin)

Hi,

Good news:


I forgot to mention you need global-ja.po to be there, even if it empty.

You don't need to tell the browser the character set, ocPortal sets it itself.

For testing I put &keep_lang=JA on my URL to make it use Japanese, but I could have also edited my profile, or changed the default site language.

p.s. I love to see non-Western languages in ocPortal, especially pretty ones :).



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#70494
Avatar

ocStaff (admin)

Oh yes, I forgot…

I had to approve the IOTD translations you'd done. It is set to 'open' translation so I don't think I have to, but I think you might have asked for them to be reviewed via the checkbox under the strings. I'm not sure, I don't have a lot of experience with Launchpad even though I'm set as the project admin.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: