Translating news module

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
roan

Translating news module

Post by roan »

First of all: Thanks for a great CMS!

I would like to contribute by translating the news module to Swedish. Naturally I would like to debug my translation in my own site before I submit it to the community, but then I run into a problem. I can't get it to work.

I have added a sv_SE.php file to the /News/lang folder. I have looked around in the admin interface, but haven't found any setting to tell the news module to use that file. I have also searched the forum with no success. I have changed the general language setting for my site to Swedish and that works OK for the core functions.

Any hints?
/roan
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Translating news module

Post by Ted »

Swedish is incorrectly in CMSMS as se_SE.  I'll fix it in 0.10.1.  For now, just change the name of your file to se_SE.php and see if it works ok.  If/when you submit it, I'll make sure everything works properly with the proper locale name.

Thanks!
roan

Re: Translating news module

Post by roan »

Thanks!

se_SE made the difference. If I think my translation is good enough to submit, I maybe go for an attac on the other non-swedish modules as well. ;-)

/roan
Locked

Return to “CMSMS Core”