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 10: Line 10:
 
<pre>piglatin.php</pre>
 
<pre>piglatin.php</pre>
  
Open the file (dutch.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).
+
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.
 
Now it's just a matter of going through and translating every line.
  
 
For example, you'd change this line...
 
For example, you'd change this line...
$lang["Main Menu"] = "Main Menu";
+
<pre>$lang["Main Menu"] = "Main Menu";</pre>
  
 
...into something like this:
 
...into something like this:
$lang["Main Menu"] = "Hoofd Menu";
+
<pre>$lang["Main Menu"] = "Hoofd Menu";</pre>
  
 
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.
 
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.

Revision as of 13:26, 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

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