Internationalization

Internationalization works when i18n module enabled and 'Enable multilanguage' option checked on the system settings page. Get sure that 'languages' folder on your server has 777 CHMOD attributes. Also 'Default language' option allows to select default language for frontend users.

Internationalization feature consists of 2 items:

  1. languages management - interface constants translations
  2. content translations

Languages management

'Select languages panel' builds from active languages flags. Internationalization feature are SEO friendly, as it allows search engines fully index website using 'lang/xx/' prefix before each URL.

sites/default/files/languages.gif

The script has an ability to translate interface into any languages those Google Translation service provides (http://code.google.com/intl/en/apis/ajaxlanguage/documentation/#SupportedLanguages)

List of languages:

  • Afrikaans
  • Albanian
  • Arabic
  • Belarusian
  • Bulgarian
  • Chinese (Simplified and Traditional)
  • Catalan
  • Croatian
  • Czech
  • Danish
  • Dutch
  • English
  • Estonian
  • Filipino
  • Finnish
  • French
  • Galician
  • German
  • Greek
  • Hebrew
  • Hindi
  • Hungarian
  • Icelandic
  • Indonesian
  • Irish
  • Italian
  • Japanese
  • Korean
  • Latvian
  • Lithuanian
  • Macedonian
  • Malay
  • Maltese
  • Norwegian
  • Persian
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Spanish
  • Serbian
  • Slovak
  • Slovenian
  • Swahili
  • Swedish
  • Thai
  • Turkish
  • Ukrainian
  • Vietnamese
  • Welsh
  • Yiddish

During new language creation the system automaticaly translates all interface constants from default language to new one. Language code must satisfy ISO-639 (list of codes)

After new language was created, click translation button sites/default/files/translate_btn_0.gif, here you may choose a file by module and translate interface constants manually.

Note: as the system uses Google Translation service, in some cases connection between your server and google server may be too slow - in such case translation script finishes execution prematurely. You have to translate interface constants manually using FTP. Follow this instruction:

  • Copy 'languages/DEFAULT_LANGUAGE_CODE/' to 'languages/LANGUAGE_CODE/', where LANGUAGE_CODE - is the code of language you need to translate
  • open 'languages/LANGUAGE_CODE/' folder
  • open translation file you want to translate file by file

Content translations (Language areas)

Content translations allow to translate content items into any website active language using translation button. In order to enable this feature - check 'Enable language areas' option on the system settings page.

For instance, type name may be translated. This name will be shown in selected language.

sites/default/files/translat_example.gif

After translation button clicked, 'Select languages panel' will open, select the language - translation dialog will open

sites/default/files/translate_dialog.gif

Here are short list of content essences those may be translated:

  • Type name
  • Level name
  • Locations level name
  • Locations item
  • Categories item
  • Listing title
  • Listing description
  • Attached image title
  • Attached video title
  • Attached file title
  • Content page title
  • Content field name
  • Content field frontend name
  • Content field description
  • Users group name
  • Website title
  • Website description
  • Website keywords
  • Select box content field option
  • Checkbox content field option
  • Varchar content field value
  • Textarea content field value
  • Richtext content field value
  • Banners block name