Page 1 of 1

Japanese Language [split from] News Module Help

Posted: Mon Dec 18, 2006 4:39 pm
by morimori
Hi CMS user!
I am a Japanese and have just installed CMSMS latest version and tried to use it for my website. I have one simple question.
"News" langugae is English by defalt. How can I change it into Japanese. Are there any simple way to do it?
Please teach me how to edit the file in detail.  I do appriciate any help.

Japanese Language [split from] News Module Help

Posted: Tue Dec 19, 2006 2:52 am
by Dr.CSS
If you go to Extensions > Modules then click on the word News or Help it will give you the parameters it takes and I believe one of them is lang=...

Japanese Language [split from] News Module Help

Posted: Tue Dec 19, 2006 6:04 am
by morimori
Mark san, thank you for your help.

Yes I found out the parameters of changing language in the help of News module.
However I don't know how and where I should write this parameter as a completely newbee to CMSMS.
Basic Templete or News Templete?

I found out other topics informing that I should rewrite the line of config.php ndicating local setting. I did, but nothing has changed.

Could you tell me what file I shoud rewirte?
Thank you for in advance.

mori
mark wrote: If you go to Extensions > Modules then click on the word News or Help it will give you the parameters it takes and I believe one of them is lang=...

Japanese Language [split from] News Module Help

Posted: Tue Dec 19, 2006 11:25 am
by Dr.CSS
When you add the News tag you put {news} then you can add parameters like {news lang='ja_JP'} I think that is the one for japanese...

For other parameters {news summarytemplate='yourTemplateName.tpl'} for every parameter just have a space then the next one...

Japanese Language [split from] News Module Help

Posted: Tue Dec 19, 2006 1:59 pm
by morimori
Thank you again Mark san,

So, based on your advice, I have to add lang parameter to News tag. But on which file?
I guessed it must have been basic Templete ncluding News module.
I added the parameter in the Templete lile follows;


     
        News
          {news limit=3 lang="ja_JP" detailpage='news'}
     
     

     
     

But still nothing has changed!
Sould I add the lang parameter to other file?
Please help.

Re: Japanese Language [split from] News Module Help

Posted: Tue Dec 19, 2006 11:24 pm
by Elijah Lofgren
You might try changing the "Default language for the frontend:" in "Site Admin » Global Settings". Hope this helps.

Re: Japanese Language [split from] News Module Help

Posted: Wed Dec 20, 2006 4:57 am
by morimori
Dear Mr.Logfren,

Thank you very much for your advice.
As to your advice, I have already done it. But nothing has changed.

I think there are many people who are using News module in their mother language other than Englsih.
So there must be a simple solution to change the language. 

So far, three ways failed.
1. Adding [language="Ja_JP"] parameter to the News tag on the dofalut basic Templete I am using.
2. Adding [language="ja_jp"] parameter to the News tag on the defalut News Templete.
2. Change Global setting from Englishi to Japanese as you adviced.

Could you suggest me another solusion?

Thank you in advance.

Mori

Re: Japanese Language [split from] News Module Help

Posted: Wed Dec 20, 2006 5:09 am
by Dr.CSS
It is lang='ja_JP' not language="ja_jp" like in my earlier post {news lang='ja_JP'}...

Never mind I tried it on a site and can't get it to work, at least on mine maybe you will have better luck, but the call is supposed to be like I said.... lang="ja_JP"

Re: Japanese Language [split from] News Module Help

Posted: Wed Dec 20, 2006 5:32 am
by Elijah Lofgren
morimori wrote: Dear Mr.Logfren,

Thank you very much for your advice.
As to your advice, I have already done it. But nothing has changed.

I think there are many people who are using News module in their mother language other than Englsih.
So there must be a simple solution to change the language. 

So far, three ways failed.
1. Adding [language="Ja_JP"] parameter to the News tag on the dofalut basic Templete I am using.
2. Adding [language="ja_jp"] parameter to the News tag on the defalut News Templete.
2. Change Global setting from Englishi to Japanese as you adviced.

Could you suggest me another solusion?

Thank you in advance.

Mori
Just in case you are meaning on the backend (in Admin Panel), you can change that by going to: My Preferences » User Preferences and changing the "Language:" drop-down.

See the image attached to this post for how I got Japanese Lang working for News module (at least part of it) using SVN versions of CMSMS and News.

I had to clear the site cache and double check the default front-end setting.

Hope this helps,

Elijah

[gelöscht durch Administrator]

Re: Japanese Language [split from] News Module Help

Posted: Wed Dec 20, 2006 2:55 pm
by morimori
Mark san and Elijah san, thank you for your advice.

>Mark san,

Yes, I added lang="ja_JP" paramater, not languag="ja_jP", to the news module on the basic Templete. But nothing changed.
By the way, is it basic Templete I should add language parameter?


>Elijah san,

I did what you suggested to me several times. However, nothing have changed also.
It seems to be the easiest way to change language, but it didn' t work.

I am looking forward to getting response from both of you.
Thanks in advance.

Re: Japanese Language [split from] News Module Help

Posted: Mon Dec 25, 2006 2:43 am
by morimori
Hi! I am still in trouble. Does anyone help me?
The help I got from two friends so far have not work well.
Should I give up writing News in Japanese?

Re: Japanese Language [split from] News Module Help

Posted: Mon Dec 25, 2006 5:04 am
by Elijah Lofgren
morimori wrote: Mark san and Elijah san, thank you for your advice.

>Mark san,

Yes, I added lang="ja_JP" paramater, not languag="ja_jP", to the news module on the basic Templete. But nothing changed.
By the way, is it basic Templete I should add language parameter?


>Elijah san,

I did what you suggested to me several times. However, nothing have changed also.
It seems to be the easiest way to change language, but it didn' t work.

I am looking forward to getting response from both of you.
Thanks in advance.


Make sure you are adding it to the template that you are using for your pages.

If you want to PM or email me your Admin login info to your CMSMS installation, I'd be willing to take a look sometime when I get back home. Maybe on Wednesday.

Have a merry Christmas,

Elijah

Re: Japanese Language [split from] News Module Help

Posted: Mon Dec 25, 2006 2:49 pm
by morimori
Dear Lofgren san,

Thank you for your reply.

It will be greatly appriciated if you could check in my site and find out solution to my problem with the News module.
I have just sent you a message via this forum coveying my site and log in info.

Thank you for your trouble in advance.

morimori in Tokyo

Re: Japanese Language [split from] News Module Help

Posted: Wed Dec 27, 2006 6:18 am
by Elijah Lofgren
Thank you for your translation.
You can download the updated language file here: http://viewsvn.cmsmadesimple.org/viewsv ... latecenter

Just download it and replace your current /modules/News/lang/ext/ja_JP.php with it.

Elijah :)