1
daibt
Changing language of "Notification Option"
  • 2005/4/10 12:09

  • daibt

  • Not too shy to talk

  • Posts: 191

  • Since: 2005/3/26


Hi All,

I would like to change the language of "Notification Option". Could you tell me how to do it?

Thanks,
Truong Dai - Vietnam

2
Dave_L
Re: Changing language of "Notification Option"
  • 2005/4/10 15:05

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


See language/-/notification.php. There are several constants there that you may want to change.

3
daibt
Re: Changing language of "Notification Option"
  • 2005/4/10 16:16

  • daibt

  • Not too shy to talk

  • Posts: 191

  • Since: 2005/3/26


Hi Dave_l

Thanks for your information, but it is nor enough for me. Can I translate for all module? how to do it?

Thanks
Daibt - Vietnam

4
rowdie
Re: Changing language of "Notification Option"
  • 2005/4/10 17:15

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


You need to have several language folders for your language to show in your whole site:
1. For Core language: xoops_url/language/[your language]/
2. For Module language: xoops_url/modules/[modulename]/language/[your language]/ for every module.

If you can't find a translation for a module you use, then you might have to make one yourself. That would mean copying the english folder for the module, changing the name to the name of your language, and changing all the english language values to your language.

e.g.
define("_NOCOMMENTS","No Comments");

will become:
define("_NOCOMMENTS","Whatever you want here");


I found one thread where someone had translated the core language to Vietnamese. (I'm assuming it was the Vietnamese language you were looking for?) There are also a few good tips about translating in that thread, so it's useful even if it was another language you were after.

Good luck

Rowd

5
daibt
Re: Changing language of "Notification Option"
  • 2005/4/10 17:38

  • daibt

  • Not too shy to talk

  • Posts: 191

  • Since: 2005/3/26


Hi Rowdie,

Thanks for your information, I think I will get a good solution for me.

Thanks,
Truong Dai - Vietnam

Login

Who's Online

203 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits