HOWTO: Translate language file into any language FOR FREE

I successfully translated the English file into Dutch today, it took me about two hours to figure it out.

Here is what I did. You need to use the following programs, MS Word, Excel and Wordpad .. and maybe a PHP editor the one i use you can find here : http://notepad-plus-plus.org/

Export your english language file from boonex to a .txt file.

Open the .TXT file with wordpad.

1) replace ALL => symbols with ËÄË

SELECT MATCH CASE

and save the file as lang1.txt

Start Excel, and open lang1.txt ... a dialog box will open, TEXT IMPORT WIZZARD.

Select Delimited and click next, in the next screen you have to select Other, make sure you did not selected anything else. We are going to use the ËÖË codes to seperate the code from each other.

Type in at other Ë .. this will seperate the text and make two columns, and you will also see that Ä will be put in its seperate row.

Example of a row:

 


A B C
1 'Name' Ä 'nl',

Now the tricky part will come .. we must remove all the ' - signs, its at the beginning of the text, in the middle and at the end.

Step 1

First remove all PHP code \'

Select entire row C from the first to the last. Its important to only select row C, because ROW A must NOT CHANGE!

Now CTRL+F .. this will open the find/replace dialog box

go to the replace tab, and type at "find what" exactly this (\') (all the text between the brackets, SO DO NOT INCLUDE the brackets)

and type at replace with: ë  .. SMALL ë not the big Ë ! very important.

SELECT MATCH CASE

Now click at replace all .. all PHP code for astrophe are replaced with ë

Step 2

Select entire row C again

if dialog is closed, do CTRL+F again,

find what : '   .. this single astrophen .. no spaces, nothing before or after .. just the '

Replace with : ËÖË

Step 3

Select entire ROW C again

Now we must delimit entire row C again. So find in your version of Excel "TExt TO Columns" (in office 2010 its under tab DATA)

Dialog box will open, select Delimeted click next

select OTHER .. and as symbol Ë  ..

SELECT MATCH CASE and then click finish

If all went well, you have this now;

 


D E F G
1 Ö nl Ö ,

 

In column D .. the letter Ö

in Column E the english text

in column F another Ö

and finally the comma.

All good? okay lets translate.

Translation is done via google, because its a huge file you cannot translate it at once, you need to break it in 2 or 3 parts. I did in two parts.

IN the English file i translated, there are about 3000 rows. select the first 1500 rows, of ROW E only, the row with the english text that we want to translate.

Copy this, and paste in a new notepad. Save this file as LANG2.txt

Go back to excel, select row 1500 - till the end .. copy .. and paste in a new notepad, save as file LANG3.txt

Now upload those files to your webserver, and go to google. And translate both files.

When all is done, copy the text from your webbrowser back to excel .. copy them over the ENGLISH ROW that you want translated.

if you have done this, you are almost done.

You must delete all the astrophen out of the translated language .. so select the entire translated row, and CTRL+F  .. find ' <-- the astrophen, replace with ë  ..SMALL ë !!!

We have to put the code back together ...

Copy the entire EXCEL sheet into a new wordpad file.

CTRL+F .. find and replace  MATCH WHOLE CASE !!

Find Ä  .. replace with =>

Ctrl+F again

Find : Ö  replace with '   <-- the astrophen.  MATCH WHOLE CASE !!

CTRL+F ..

find </ a>  replace with </a>  for some reason google puts a space in these codes between the / and the 'a' , there are a few more .. so check the HREF html code etc.

Copy paste entirely to MS WORD

Find and replace ^t .. we are going to remove all TABS .. replace with nothing.

Save as .txt file ..

You have almost your translated file. Notepad, word and wordpad .. they put some code before the text and after it.. so we need a PHP editor to remove this.

Find a PHP editor ,, i gave a link, open the text file .. now remove all spaces before (most likely row 1 is a blank line and the last line is blank too) remove those

save as

lang_lang.php

upload to Boonex

voila.

 

 

 

 

 

 

 

Quote · 29 Jan 2011

Minor addition,

Do not change this line;

'_powered_by_Dolphin' => 'Powered by <a href="http://www.boonex.com/products/dolphin/">Dolphin Smart Community Builder</a> &nbsp; <a href="http://www.boonex.com/products/orca/">Orca Interactive Forum Script</a> &nbsp; <a href="http://www.boonex.com/products/ray/">Ray Community Widget Suite</a>',

For some reason it messed up my website, perhaps it is because of the footer protection or smth. i have no clue

Quote · 29 Jan 2011

Attachments

en.php · 19K · 415 downloads
/unity/forums/?action=goto&my_threads#topic/Video-is-being-processed-for-the-second-time.htm
Quote · 26 Feb 2011

 

Translation is done via google, because its a huge file you cannot translate it at once, you need to break it in 2 or 3 parts. I did in two parts.

a little social engineering shuold be save your unique file in a " .html " file

After do this you can upload your "file.html" to your root in your domain and now you can translate this in any language what you want

you can simply go to:

http://translate.google.it/translate?u=http%3A%2F%2Fwww.yourdomain.com%2Ffile.html&sl=en&tl=it&hl=&ie=UTF-8

 

hahaha :) sorry for my little english I do not use a google translator for write in this post :)

Quote · 10 Mar 2011

i tryied this but , i dont get the rows like you did , i try to open in all the ways possible in Excel but still it opend it like rows 1 upp to 3355 ,but not  colums A,B,C like you did.hm

what im doing wrong here?

 

Quote · 4 Mar 2012

hello again

 

i got a brilient ideà

send me the Exel file on mail and i will translate it into swedish then i link it for all sweeedes to install in Dolp ;)

some one ??

 jdw@aland.net

Quote · 6 Mar 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.