Mehrsprachigkeit
Aus eZ Wiki
Entwurf
Diese Seite muss vervollständigt werden. Für Diskussionen und Rechercheergebnisse kann auch die Diskussionsseite genutzt werden.
i18n.ini
site.ini [RegionalSettings]
# The locale for your site Locale=eng-GB # Set this if the http locale in the locale is wrong HTTPLocale= # Set this if you want to run the entire PHP system in a given # locale, this means that PHP will be locale aware when dealing # with strings (e.g making characters in a string into lowercase). (C is a # special locale meaning 7-bit ASCII). Examples for this setting include # "german", "de_DE.ISO-8859-1"; depending on your operating system. SystemLocale= # The default language for content objects # Note: Changing this can have catastrophic consequences # since there might not be any content objects with # the selected language. Instead the content/translations # page should be used for adding/removing translations. ContentObjectLocale=eng-GB # If enabled, ShowUntranslatedObjects will force showing the objects # existing in other languages than those specified in SiteLanguageList ShowUntranslatedObjects=disabled # Prioritized list of languages. Only objects existing in these # languages will be shown (unless ShowUntranslatedObjects is enabled). # If an object exists in more languages, that one which is first in # SiteLanguageList will be used to render it. SiteLanguageList[] # Controls how xml is stored in content objects. # disabled - Store with utf8 # enabled - Store with current charset # if any other text is entered it is assumed to be a charset and will be used ContentXMLCharset=enabled # Use either disabled to disable all text translation (faster) or enabled. # Text translation is automatically disabled when the Locale is set to eng-GB TextTranslation=enabled TranslationCache=enabled # Use either enabled to see which locale files are loaded or disabled to supress debug Debug=disabled # By enabling development mode all untranslated texts will be translated # using the bork rules. # See lib/ezi18n/classes/ezborktranslator.php for more information. DevelopmentMode=disabled TranslationRepository=share/translations/ TranslationExtensions[]
Lokalisierung
In den Dateien zur Lokalisierung befinden sich Angaben zu:
- erlaubten Zeichensätzen
- HTTP content language
- Währung (Name, Symbol, Tausenderformatierung etc.)
- Zahlen (Formatierung, Dezimalstellen)
- Darstellung von Datum und Zeit
- Monatsnamen
- Namen der Wochentage
