X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=doc%2Fhtml%2Fch04s04.html;h=b6cd6a73541daccb89db919bb2887f3d56e07118;hb=88b407e827a4129cdae84bd92d11cd3e8a145987;hp=98d906906e0255c7970c6f812971c46f889a0761;hpb=0d1bb5102f01eb03da55bc87b52ac52cd7ae7534;p=kivitendo-erp.git diff --git a/doc/html/ch04s04.html b/doc/html/ch04s04.html index 98d906906..b6cd6a735 100644 --- a/doc/html/ch04s04.html +++ b/doc/html/ch04s04.html @@ -1,11 +1,11 @@ - 4.4. Translations and languages

4.4. Translations and languages

4.4.1. Introduction

[Anmerkung]Anmerkung

Dieser Abschnitt ist in Englisch geschrieben, um + 4.4. Translations and languages

4.4. Translations and languages

4.4.1. Introduction

[Anmerkung]Anmerkung

Dieser Abschnitt ist in Englisch geschrieben, um internationalen Übersetzern die Arbeit zu erleichtern.

This section describes how localization packages in kivitendo are built. Currently the only language fully supported is German, and since most of the internal messages are held in English the English - version is usable too.

A stub version of French is included but not functunal at this - point.

4.4.2. Character set

All files included in a language pack must use UTF-8 as their encoding.

4.4.3. File structure

The structure of locales in kivitendo is:

kivitendo/locale/<langcode>/

where <langcode> stands for an abbreviation of the + version is usable too.

4.4.2. Character set

All files included in a language pack must use UTF-8 as their + encoding.

\ No newline at end of file + want to keep this safe somewhere.

more/all

This subdir and file is not a part of the language package + itself.

If the directory more exists and contains a file called + all it will be parsed in addition to the mandatory all (see + above). The file is useful if you want to change some + translations for the current installation without conflicting + further upgrades. The file is not autogenerated and has the same + format as the all, but needs another key (more_texts). See the + german translation for an example or copy the following code: +

+#!/usr/bin/perl
+# -*- coding: utf-8; -*-
+# vim: fenc=utf-8
+
+use utf8;
+
+# These are additional texts for custom translations.
+# The format is the same as for the normal file all, only
+# with another key (more_texts instead of texts).
+# The file has the form of 'english text'  => 'foreign text',
+
+$self->{more_texts} = {
+
+  'Ship via'                    => 'Terms of delivery',
+  'Shipping Point'              => 'Delivery time',
+}
+              

+

\ No newline at end of file