Japanese Language [split from] News Module Help

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
morimori

Japanese Language [split from] News Module Help

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Japanese Language [split from] News Module Help

Post 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=...
morimori

Japanese Language [split from] News Module Help

Post 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=...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Japanese Language [split from] News Module Help

Post 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...
morimori

Japanese Language [split from] News Module Help

Post 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.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Japanese Language [split from] News Module Help

Post by Elijah Lofgren »

You might try changing the "Default language for the frontend:" in "Site Admin » Global Settings". Hope this helps.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
morimori

Re: Japanese Language [split from] News Module Help

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Japanese Language [split from] News Module Help

Post 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"
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Japanese Language [split from] News Module Help

Post 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]
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
morimori

Re: Japanese Language [split from] News Module Help

Post 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.
morimori

Re: Japanese Language [split from] News Module Help

Post 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?
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Japanese Language [split from] News Module Help

Post 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
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
morimori

Re: Japanese Language [split from] News Module Help

Post 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
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Japanese Language [split from] News Module Help

Post 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 :)
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Locked

Return to “CMSMS Core”