Business Week 
Image
Business Week Image

Why Linux is Better



--> -->

How to translate this website

  1. Send me an email at ideas [at] whylinuxisbetter [dot] net to make sure that there isn't anybody already working on this particular translation.
  2. Choose a unique an short suffix for your language (for example, "ru" for Russian, "ser" for Serbian). We will call this suffix "lang" for the purpose of this tutorial, then download and extract this archive.
  3. Make sure you use a simple text editor (gedit in Linux is fine, or the Notepad in Windows) and make sure you open and save files in the UTF-8 encoding. With this editor, create a file called title_lang.txt at the root of the expanded archive and place the translation of this website's title in it.
  4. Go into the "items" subfolder. Here you will find a folder for each of this website's articles. In each of them,
    • Copy the index.php file to index_lang.php .
    • Open this newly created file, find the places where there is English text, and replace it by your translation (you don't need to understand HTML or PHP, just try to keep the parts you don't understand as they are).
  5. Do the same thing for files inside the "stick_to_windows" and "switch" folders.
  6. At the root of the archive, copy the main index.php file to index_lang.php. It has one line for including each of the "items": for each of these lines, replace the empty string "" by your language suffix with an underscore: "_lang" and translate the title of this item.
  7. Compress this archive again (either as it is, or even better, you can remove the files you did not touch), and send it to me by email (same address above).
  8. See your translation appear on the website with your name on your language's first page and get billions of thanks from me and above all from all the people speaking the same language !!