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==
#Make a copy of this 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>
  
#Rename it to "mylanguage.php", like so:
+
Rename your copy to "mylanguage.php", like so:
 
<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).
+
 
#Now it's just a matter of going through and translating every line.
+
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).
 +
 
 +
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...

Revision as of 13:25, 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 (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).

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