Revision history for LanguageBars
Additions:
~A tool is available to automatically create the 'tongues' page, see [[https://ia801304.us.archive.org/0/items/RussoodlessPuppyLinuxStuff-darkcity/WikkaTools.html Language Bar tool page]]
Deletions:
Additions:
~A tool is available to automatically create the 'tongues' page, see [[https://ia801304.us.archive.org/0/items/RussoodlessPuppyLinuxStuff-darkcityLanguage Bar tool page]]/WikkaTools.html]]
~[[http://www.murga-linux.com/puppy/viewtopic.php?t=99339 Language Bar tool thread, slight update (not hosted)]]
~[[http://www.murga-linux.com/puppy/viewtopic.php?t=99339 Language Bar tool thread, slight update (not hosted)]]
Deletions:
~[[http://www.murga-linux.com/puppy/viewtopic.php?t=99339 Language Bar tool page]]
Revision [30672]
Edited on 2015-05-20 16:19:19 by darkcity [http://www.murga-linux.com/puppy/viewtopic.php?t=9]Additions:
~There is a tool for generating the code, see [[http://www.murga-linux.com/puppy/viewtopic.php?t=99339 Language Bar tool page]]
~A tool is available to automatically create the 'tongues' page, see [[http://www.murga-linux.com/puppy/viewtopic.php?t=99339 Language Bar tool page]]
~[[http://www.murga-linux.com/puppy/viewtopic.php?t=99339 Language Bar tool page]]
~A tool is available to automatically create the 'tongues' page, see [[http://www.murga-linux.com/puppy/viewtopic.php?t=99339 Language Bar tool page]]
~[[http://www.murga-linux.com/puppy/viewtopic.php?t=99339 Language Bar tool page]]
Deletions:
~A tool is available to automatically create the 'tongues' page, see [[http://www.meownplanet.net/puppylinuxstuff/darkcity/html/WikkaTools.html Language Bar tool page]]
~[[http://www.meownplanet.net/puppylinuxstuff/darkcity/html/WikkaTools.html Language Bar tool page]]
Additions:
~##""||{background:white}[[CaNewPage|ca]]::[[CnNewPage|cn]]::[[DeNewPage|de]]::[[EsNewPage|es]]::[[FrNewPage|fr]]::[[GrNewPage|gr]]::[[HuNewPage|hu]]::[[ItNewPage|it]]::[[JaNewPage|ja]]::[[KrNewPage|kr]]::[[nlNewPage|nl]]::[[plNewPage|pl]]::[[PtNewPage|pt]]::[[RuNewPage|ru]]::[[SeNewPage|se]]::[[NewPage|us]]::[[vnNewPage|vn]]::||""##
Deletions:
Additions:
==Also on the Wiki==
~[[LanguageCodes Language Codes]] - list of codes and languages supported
~[[LanguageCodes Language Codes]] - list of codes and languages supported
Additions:
~The language-bars provide a way to switch between different translations of a wikka page. To the reader they appear same on each page (as a string of "language codes"). The language codes are based on url letter codes of a notable country that speaks that language.
~2a. Any internal links are replaced with the Greek equivalent, ie.
~[[http://www.ibiblio.org/ais/url.htm url country codes]]
~2a. Any internal links are replaced with the Greek equivalent, ie.
~[[http://www.ibiblio.org/ais/url.htm url country codes]]
Deletions:
~2a. Any internal links are replace with the Greek equivalent, ie.
Additions:
~1. Clone the page prefixing with the Greek language code 'Gr' ie ##""GrSoftwareIndex""##
~2b. If an equivalent doesn't exist, either leave it pointing to the English equivalent page. Or make it point to a future translation. For example, there is no translation for ##""[[SquashFS]]""##, but a future translation may well be called ##""[[GrSquashFS|SquashFS]]""##.
~3. Include ##""{{include tonguesNewPage}}""## at the top of ##""NewPage""## when its written.
~There is a tool for generating the code, see [[http://www.meownplanet.net/puppylinuxstuff/darkcity/html/WikkaTools.html Language Bar tool page]]
~A tool is available to automatically create the 'tongues' page, see [[http://www.meownplanet.net/puppylinuxstuff/darkcity/html/WikkaTools.html Language Bar tool page]]
~2b. If an equivalent doesn't exist, either leave it pointing to the English equivalent page. Or make it point to a future translation. For example, there is no translation for ##""[[SquashFS]]""##, but a future translation may well be called ##""[[GrSquashFS|SquashFS]]""##.
~3. Include ##""{{include tonguesNewPage}}""## at the top of ##""NewPage""## when its written.
~There is a tool for generating the code, see [[http://www.meownplanet.net/puppylinuxstuff/darkcity/html/WikkaTools.html Language Bar tool page]]
~A tool is available to automatically create the 'tongues' page, see [[http://www.meownplanet.net/puppylinuxstuff/darkcity/html/WikkaTools.html Language Bar tool page]]
Deletions:
~2b. If an equivalent doesn't exist, either leave it pointing to the English equivalent page. Or make it point to a future translation. For example, there is no translation for ##""[[SquashFS]]""##, but a future translation may well be called ##""[[GrSquashFS|SquashFS]]""###.
~3. Include ##""{{include tonguesNewPage}}""## at the top of NewPage when its written.
~There is a tool generating code, unfortunately it is offline at the moment. Contact DarkCity for a copy.
~A tool is available for automatically create to code for the 'tongues' page. Unfortunately it is offline at the moment. Contact DarkCity for a copy.
Additions:
====Language Bars====
~Language-bars are a work-in-progress towards making the Wiki multilingual. At the moment it require a fair amount of manual editing to implement. This will hopefully be automated in time.
~The language-bars provide a way to switch between different translations of a wikka page. To the reader they appear same on each page (as a string of "language codes"). The language codes are based on ISO 3166 two letter codes of a notable country that speaks that language.
~Despite looking the same a seperate language-bar page needs to be created for each collection of translations. The language-bar is then included at the top of each translation.
==Example if a language bar exists==
~In this example we will look at making a Greek translation of the English page SoftwareIndex.
~1. Clone the page prefixing with the Greek language code ie GrSoftwareIndex
~1a. The page should already have ##""{{include tonguesSoftwareIndex}}""## at the top to include the language-bar
~2. Translate the page.
~2a. Any internal links are replace with the Greek equivalent, ie.
~##""[[HomePage]] > [[SoftwareIndex Software Index]]""##
~becomes
~##""[[GrHomePage]] > [[GrSoftwareIndex|Δείκτης Λογισμικό]]""##
~2b. If an equivalent doesn't exist, either leave it pointing to the English equivalent page. Or make it point to a future translation. For example, there is no translation for ##""[[SquashFS]]""##, but a future translation may well be called ##""[[GrSquashFS|SquashFS]]""###.
==Example if no language bar exist==
~In this example, we will create a language-bar for a English page called NewPage.
~1. Create a page called ##""tonguesNewPage""##
~2. The page should contain the following code only-
~##""||{background:white}[[CnNewPage|cn]]::[[DeNewPage|de]]::[[EsNewPage|es]]::[[FrNewPage|fr]]::[[GrNewPage|gr]]::[[HuNewPage|hu]]::[[ItNewPage|it]]::[[JaNewPage|ja]]::[[KrNewPage|kr]]::[[nlNewPage|nl]]::[[plNewPage|pl]]::[[PtNewPage|pt]]::[[RuNewPage|ru]]::[[SeNewPage|se]]::[[NewPage|us]]::[[vnNewPage|vn]]::||""##
~3. Include ##""{{include tonguesNewPage}}""## at the top of NewPage when its written.
~There is a tool generating code, unfortunately it is offline at the moment. Contact DarkCity for a copy.
==Note adding Non-English pages==
~If adding a Non-English page for which no English equivalent page exists. There is no need to add the appropriate two letter prefix. The future English translation would then be prefixed with 'Us'. For example, the French page ##""Chien""## is created, the English translation would be called ##""UsChien""##.
~A tool is available for automatically create to code for the 'tongues' page. Unfortunately it is offline at the moment. Contact DarkCity for a copy.
~[[https://en.wikipedia.org/wiki/ISO_3166-1 ISO_3166-1 two letter country codes]]
~Language-bars are a work-in-progress towards making the Wiki multilingual. At the moment it require a fair amount of manual editing to implement. This will hopefully be automated in time.
~The language-bars provide a way to switch between different translations of a wikka page. To the reader they appear same on each page (as a string of "language codes"). The language codes are based on ISO 3166 two letter codes of a notable country that speaks that language.
~Despite looking the same a seperate language-bar page needs to be created for each collection of translations. The language-bar is then included at the top of each translation.
==Example if a language bar exists==
~In this example we will look at making a Greek translation of the English page SoftwareIndex.
~1. Clone the page prefixing with the Greek language code ie GrSoftwareIndex
~1a. The page should already have ##""{{include tonguesSoftwareIndex}}""## at the top to include the language-bar
~2. Translate the page.
~2a. Any internal links are replace with the Greek equivalent, ie.
~##""[[HomePage]] > [[SoftwareIndex Software Index]]""##
~becomes
~##""[[GrHomePage]] > [[GrSoftwareIndex|Δείκτης Λογισμικό]]""##
~2b. If an equivalent doesn't exist, either leave it pointing to the English equivalent page. Or make it point to a future translation. For example, there is no translation for ##""[[SquashFS]]""##, but a future translation may well be called ##""[[GrSquashFS|SquashFS]]""###.
==Example if no language bar exist==
~In this example, we will create a language-bar for a English page called NewPage.
~1. Create a page called ##""tonguesNewPage""##
~2. The page should contain the following code only-
~##""||{background:white}[[CnNewPage|cn]]::[[DeNewPage|de]]::[[EsNewPage|es]]::[[FrNewPage|fr]]::[[GrNewPage|gr]]::[[HuNewPage|hu]]::[[ItNewPage|it]]::[[JaNewPage|ja]]::[[KrNewPage|kr]]::[[nlNewPage|nl]]::[[plNewPage|pl]]::[[PtNewPage|pt]]::[[RuNewPage|ru]]::[[SeNewPage|se]]::[[NewPage|us]]::[[vnNewPage|vn]]::||""##
~3. Include ##""{{include tonguesNewPage}}""## at the top of NewPage when its written.
~There is a tool generating code, unfortunately it is offline at the moment. Contact DarkCity for a copy.
==Note adding Non-English pages==
~If adding a Non-English page for which no English equivalent page exists. There is no need to add the appropriate two letter prefix. The future English translation would then be prefixed with 'Us'. For example, the French page ##""Chien""## is created, the English translation would be called ##""UsChien""##.
~A tool is available for automatically create to code for the 'tongues' page. Unfortunately it is offline at the moment. Contact DarkCity for a copy.
~[[https://en.wikipedia.org/wiki/ISO_3166-1 ISO_3166-1 two letter country codes]]
Deletions:
~Language-bars are a work-in-progress towards making the Wiki multilingual, they include a link for all the supported languages.
~A language-bar is made as a separate page usually called by the English name prefixed with 'tongues'. For example, the Language-bar for a page called WikiPageName would be tonguesWikiPageName. This page is then added at the top of each page using Wikka's include function.
~A tool is available for automatically create to code for the 'tongues' page, see [[http://www.meownplanet.net/puppylinuxstuff/darkcity/html/WikkaTools.html Language Bar tool page]].