SimplePortal

SimplePortal => Site Discussion => Topic started by: RavacDS on March 05, 2009, 03:02:56 PM

Title: Translation..?!?
Post by: RavacDS on March 05, 2009, 03:02:56 PM
Hi,

This is first time that i using portals for smf forum, i just install SP on one of my forums and it works great. Thank you!

Reason for opening this topic is, that i want translate SP on Serbian language, can u give me some guidelines,links, what need to be translated and other...
Title: Re: Translation..?!?
Post by: Nathaniel on March 05, 2009, 03:30:53 PM
SimplePortal uses SMF's inbuilt language file 'method' to handle its language strings. SMF stores its strings in the '/themes/default/languages/' folder, as does SimplePortal.

To translate SimplePortal into Serbian for your forum you will need to make copies of the the 'SPortal.english.php', 'SPortalHelp.english.php' and 'SPortalAdmin.english.php' files from that folder, and change the 'english' to 'serbian' (add '-utf' if you use utf8). If you don't want to translate the strings in the admin area then you only need to translate the 'SPortal.english.php' file.

You can then edit each language string within that file. Language strings appear in the format below:
Code: [Select]
$txt['var'] = 'language string';
You only need to translate the 'language string' part.

There is some documentation on the SMF language string system below, although some of it is not relevant, but it may help.
Languages (http://docs.simplemachines.org/index.php?topic=476.msg685#msg685)
How do I add a new language?  (http://docs.simplemachines.org/index.php?topic=476.msg685#msg685)

If you are interested in making an 'official' Serbian translation for SimplePortal so that others can use it as well, then feel free to send me or Jade a PM.
SimplePortal 2.3.8 © 2008-2024, SimplePortal