Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Updating language of a module


Go to End


6 Posts   1804 Views

Avatar
evren

Community Member, 37 Posts

11 October 2008 at 3:13pm

Edited: 12/10/2008 2:10am

I want to use some of the modules. Like forum but it's translation is uncomplete.
Now I apply to translate service to complete it and others. But if I install it now, is there a possibility to update it's language after?

(of course without making uninstall and install again to protect its contents)

Ok ok sure there is a way :)

But how?

And thanks for all given reply in advance.

Avatar
evren

Community Member, 37 Posts

13 October 2008 at 1:18am

Weird

Thats too bad for me if I'm the only one who needs a non-englih forum module.
But although I'm sure that somebody knows it.

Isn't there a way to update installed modules languages?

Avatar
bummzack

Community Member, 904 Posts

13 October 2008 at 3:57am

Usually the translatable strings of a module can be found in the "lang" directory of a module. There should be a php file for every language that's currently translated. If your language is missing, you can just translate the contents of en_US.php.
You can do that even after the installation of the module, it shouldn't break anything.

Avatar
evren

Community Member, 37 Posts

14 October 2008 at 2:44am

Thanks banal.

I also think like that but just worried about if SS reads lang files and dumps to database for using them.
But seems lang resources read directly from files. The best way.

I'll start to install.

Avatar
Ingo

Forum Moderator, 801 Posts

1 November 2008 at 11:25am

I'm not sure I understand your question - so you have untranslated text in the forum module, right? Does that mean its not translated into your language, or not translatable at all?

You can sign up at http://translate.silverstripe.com to complete your specific language, and download the generated lang files "on the fly" - you don't need to wait for a release to do this. This is preferred to modifying language files directly, as other people won't benefit from your new translations.

If you have stuff thats not translatable in the first place, have a look at http://doc.silverstripe.com/doku.php?id=translation and http://doc.silverstripe.com/doku.php?id=i18n#collecting_text

Avatar
evren

Community Member, 37 Posts

2 November 2008 at 6:45am

I was asking for,
If I install the forum module now, with missing translation (in my lang). Is there a possibility to update the lang after install? Sure that without losing forum DB.

Got my answer but dosent matter cos I removed the forum and blog module cos both of them are untolerable buggy.

And the second part, I already submitted to the translation team but couldnt go far away cos of time matters.

Thanks for your interest.
Regards