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

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


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

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. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#70494
Avatar

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. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: