localization
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
localization [2023-12-11 14:49] – 114.122.69.23 | localization [2023-12-11 20:15] (current) – old revision restored (2023-09-24 01:09) oiv | ||
---|---|---|---|
Line 17: | Line 17: | ||
* As DokuWiki wants to be **standards-compliant**, | * As DokuWiki wants to be **standards-compliant**, | ||
* Always **keep the format strings intact**, i.e. identical. Strings like these ''< | * Always **keep the format strings intact**, i.e. identical. Strings like these ''< | ||
+ | |||
+ | ==== Howto add a new language ==== | ||
+ | To prevent spam, https:// | ||
==== Directions for consistent translations ==== | ==== Directions for consistent translations ==== | ||
Line 26: | Line 29: | ||
==== Plugins ==== | ==== Plugins ==== | ||
- | Plugin authors can register their plugin at the [[https:// | + | Plugin authors can register their plugin at [[https:// |
- | If a plugin is not translatable via the hub you can do it manually: | + | If a plugin is not translatable via the translation tool you can do it manually: |
* Copy the content of '' | * Copy the content of '' | ||
Line 54: | Line 57: | ||
Copy only strings from '' | Copy only strings from '' | ||
- | Translating txt-files is possible since " | ||
=== Example === | === Example === | ||
Line 98: | Line 100: | ||
* Directions for [[teams: | * Directions for [[teams: | ||
* The [[teams: | * The [[teams: | ||
- | |||
- | help: | ||
- | /:/// | ||
- | ===== Creating Namespaces ===== | ||
- | |||
- | You don't need to create namespaces separately; simply create pages with colons in the [[pagename]]. | ||
- | The token after the last colon will be the name of the page itself, while all other tokens are namespaces. | ||
- | All namespaces used in your pagename that don't exist already will be created by DokuWiki automatically. | ||
- | |||
- | A namespace can be created in the media manager after having selected a file on the local computer and adding a '' | ||
- | |||
- | In DokuWiki, pages are created as in every other wiki. Simply create a link to a non existing page, follow this link, and click on Create this page. See also [[.: | ||
- | |||
- | ^ Examples: | ||
- | | example\\ .example\\ .: | ||
- | | : | ||
- | | ..example\\ ..: | ||
- | | wiki: | ||
- | | ns1: | ||
- | | .ns1: | ||
- | | ..ns1: | ||
- | | .ns1:ns2:\\ .: | ||
- | | ~example\\ ~: | ||
- | |||
- | :!: Gotcha: The syntax for relative and absolute internal links is non-unique and complex relative to directory and filename conventions. | ||
- | |||
- | |||
- | Links are absolute if and only if they have a ":" | ||
- | |||
- | Links relative to the current namespace may also begin with either " | ||
- | |||
- | ===== Referring Images ===== | ||
- | |||
- | Regarding referring of namespaces, images and other media files are handled like wiki pages. That means, the following refers to an image that belongs to the current namespace: | ||
- | < | ||
- | {{image.jpg}} | ||
- | </ | ||
- | |||
- | |||
- | |||
- | ===== Deleting namespaces ===== | ||
- | |||
- | When all pages inside a namespace are removed (see [[page# | ||
- | |||
- | ===== How to rename namespaces? ===== | ||
- | |||
- | ==== Manual way ==== | ||
- | |||
- | In order to rename a namespace manually you will have to: | ||
- | * Rename the folders that represent the namespace in: | ||
- | * '' | ||
- | * '' | ||
- | * Remove metadata for the namespace under '' | ||
- | * Remove attic data for the namespace under '' | ||
- | | ||
- | For example, on a Unix host, you could: | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * move: '' | ||
- | Note that the '' | ||
- | |||
- | * Correct (by editing them) all the links to the pages under the //moved// namespace (you can discover those before moving the namespace by reviewing each page's [[backlinks]]). | ||
- | |||
- | * Browse each and every page under the new namespace. This will create the missing indexing information and metadata for the pages under the moved namespace. | ||
- | |||
- | However, you will still have lots of junk left around. For example in '' | ||
- | |||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * Browse each and every page of your Wiki. | ||
- | |||
- | DISCLAIMER: I understand this is convoluted (and maybe I missed/ | ||
- | |||
- | ===== Namespace Default Linking ===== | ||
- | |||
- | It is possible to link to the default page of a namespace by ending the linkid | ||
- | with a colon: '' | ||
- | existence of certain named files. For '' | ||
- | checked: | ||
- | |||
- | < | ||
- | foo: | ||
- | foo:bar:bar | ||
- | foo:bar | ||
- | </ | ||
- | |||
- | The pages are checked in that order and whatever page is found first will be linked to. [[config: | ||
- | |||
- | See [[config: | ||
- | ===== Interwiki Links ===== | ||
- | |||
- | DokuWiki supports Interwiki links. These are quick links to other Wikis. | ||
- | For example: [[wp> | ||
- | //// | ||
localization.1702302579.txt.gz · Last modified: 2023-12-11 14:49 by 114.122.69.23