10389 Posts in 2200 Topics by 1712 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 541 Views |
-
Module Translation

11 July 2011 at 9:05pm
HI,
I'm looking for a Tutorial "How to make a Module with different language".
I start using "abstract class ModelAdmin extends LeftAndMain {" but i didn't find anyway to translate, or to have this module for 2 language, i don't need to translate all the content but able to make content for both language.
Thank you
-
Re: Module Translation

11 July 2011 at 9:21pm Last edited: 11 July 2011 9:22pm
Hi.
Not a tutorial, but a good read is here:
http://doc.silverstripe.org/sapphire/en/topics/i18n
(especially the paragraphs about "Adapting modules for i18n" and the _t() function).After that, you could download a module (e.g. Blog) and examine how translation was done there...
Hope that helps a bit.
Cheers
Christian
| 541 Views | ||
|
Page:
1
|
Go to Top |



