News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

question regarding languages for mods

Started by Zorac, January 15, 2006, 11:31:54 AM

Previous topic - Next topic

Zorac

ive been editing a mod which is english and was provided a greek translation for the mod, and have a couple questions about implementing it into the install.xml file....

does the Modifications.english.php file always exist no matter what language the person is using on smf?

and the proper file for greek would be Modifications.greek.php i assume??

if the english always exists,  i would use the following lines for the files::

english
   <file name="$languagedir/Modifications.english.php">

and greek
   <file name="$languagedir/Modifications.greek.php" error="skip">

the skip as not everyone want greek

thanks for your help in advance!

Dannii

That's exactly it ;)
If you're adding a lot though, you could just put it in a new language file and install both. If the user doesn't have greek, there will be no problem.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Advertisement: