Path

ez.no / exponential / documentation / configuration / configuration / language and charset / installing a language pack


Installing a Language pack

Sample german language update (ger-DE)

after demo install

  • go to http://www.ez.no/developer/exponential_3/translations and download the file exponential-3.x-x-ger-DE.zip
  • unpack the file
  • Place the .ts in the ez folder /share/translations/ger-DE
  • Place the .ini in the ez folder /share/locale
  • edit /settings/override/site.ini.append.php or the correspondant files from the /settings/siteaccess folder
[RegionalSettings]

Locale=ger-DE

ContentObjectLocale=eng-GB

TextTranslation=enabled

[ContentSettings]

TranslationList=ger-DE;eng-GB

Recommended: activate translation cache

[RegionalSettings]

Locale=ger-DE

ContentObjectLocale=eng-GB

TextTranslation=enabled

TranslationCache=enabled

[ContentSettings]

TranslationList=ger-DE;eng-GB
  • Clear the Cache
  • Reload site

If reloading takes more than 30 seconds, chances are that you have not enabled the mbstring extension in PHP. When this is enabled, translation cache regeneration should not take much more than 6-8 seconds.

If you don't have the PHP mbstring extension, then reloading may time out. The quickest way to fix this to give Exponential more RAM and/or execution time. (The best fix is to enable mbstring.) See php.ini. I use 32MB and 300 sec on a AMD 800. The german language file is actually the largest of them all. It is hard to KISS in german ;-).

edit php.ini (Linux: /etc/php.ini Windows: C:windowsphp.ini)

;;;;;;;;;;;;;;;;;;;

; Resource Limits ;

;;;;;;;;;;;;;;;;;;;

 

max_execution_time = 300    ; Maximum execution time of each script, in seconds

max_input_time = 180   ; Maximum amount of time each script may spend parsing request data

memory_limit = 32M     ; Maximum amount of memory a script may consume (8MB)

If you still notice untranslated phrases it might be that the information either comes out of the database or that this information is hardcoded. Otherwise try to clear und rebuild the cache.

Comments

installing a language for translation

Hi,
I tried to follow the instructions given for windows but nothing bore fruits. Can anybody out there help? I'm thankful for all suggestions.
milka

Translation

Nothing works... I tried to instal even germany but when I done all task nothing happened...

no function

Sorry about my english
I´ve followed the instructions but I can see the men�s 6 texts in Spanish, only it works in "My notification"... somebody can I help me ?

translations allready exists

It seems as a lot of translations, including the German one, allready exists/is included in my eZ inztallation (version 3.3-3)....?

Log in or create a user account to comment.

Contents

Configuration

Configuration
    WebDAV setup
    Exponential running on a CGI version o...
    Path prefix
    Locale Settings
    Introduction
    Configuration files
    Site access
    Common settings
    Multi Site
    Directory structure
    Language and charset
       Installing a Language pack
       Multilanguage site
       Unicode with Exponential
       Creating a new translation
       How to setup a Multilingual Site
    Cron jobs
    Login handler
    Search engine
    Tips & Tricks
Security
Optimization
Backup & Restore
Troubleshooting


Created

20/05/2003
6:48:49 pm
by Bj�rn Dieding@xrow.de

Last updated

05/12/2003
1:46:04 am
by Bj�rn Dieding@xrow.de

Authors

Bj�rn Dieding@xrow.de
B�rd Farstad
Gunnstein Lye



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.