Translating Soholaunch

From Sohowiki
(Difference between revisions)
Jump to: navigation, search
(Make a copy of the current english.php strings file)
(Make a copy of the current english.php strings file)
Line 4: Line 4:
  
 
==Make a copy of the current english.php strings file==
 
==Make a copy of the current english.php strings file==
 +
1. Make a copy of the current english.php strings file
 +
2. Rename file to mylanguage.php, open it up, translate
 +
3. Send it to us so we can integrate it into the next product build
 +
 
Grab this file from one of your soho sites (make sure it's on the latest available version so you get the most up-to-date strings file)...
 
Grab this file from one of your soho sites (make sure it's on the latest available version so you get the most up-to-date strings file)...
 
<pre>sohoadmin/language/english.php</pre>
 
<pre>sohoadmin/language/english.php</pre>

Revision as of 14:28, 19 April 2006

Translating Soholaunch into another language

For purposes of example, let's say we want to translate Soholaunch into Piglatin.

Make a copy of the current english.php strings file

1. Make a copy of the current english.php strings file 2. Rename file to mylanguage.php, open it up, translate 3. Send it to us so we can integrate it into the next product build

Grab this file from one of your soho sites (make sure it's on the latest available version so you get the most up-to-date strings file)...

sohoadmin/language/english.php

Rename your copy to "mylanguage.php", like so:

piglatin.php

Open the file (piglatin.php) in some kind of text/code editor. Plain-ol' Windows' Notepad will work, but I'd recommend something that has syntax highlighting for php files (for the sake of readability).

Now it's just a matter of going through and translating every line.

For example, you'd change this line...

$lang["Main Menu"] = "Main Menu";

...into something like this:

$lang["Main Menu"] = "Hoofd Menu";

When you're finished, send your translated language file to tech.team at soholaunch.com and we'll integrate it into the next product build.

Personal tools