PZwiki:Project Translations: Difference between revisions

From PZwiki
(→‎Translation progress: add translating order)
(rearrange, cleanup)
Line 3: Line 3:
   <div style="padding: 1em; padding-top: 0; background: #ebcdc3; border: 1px solid #191423;">
   <div style="padding: 1em; padding-top: 0; background: #ebcdc3; border: 1px solid #191423;">
     <div style="font-size: 200%; text-align: center; font-variant: small-caps; color: #784b5f;"><span style="font-size: 70%;">Project</span> '''Translations'''</div>
     <div style="font-size: 200%; text-align: center; font-variant: small-caps; color: #784b5f;"><span style="font-size: 70%;">Project</span> '''Translations'''</div>
{{Infobox project|Vibrance|Languages|color1 = #dadaea|color2 = #f2f2f4}}
{{Infobox project|Vibrance|Languages|color1=#dadaea|color2=#f2f2f4}}
Welcome to '''Project Translations''', a [[PZwiki:Community portal#Projects|PZwiki project]] that aims to improve translations of the wiki pages.
Welcome to '''Project Translations''', a [[PZwiki:Community projects|PZwiki project]] that aims to improve translations of the wiki pages.
 
Since PZwiki is an English wiki, the main language of the wiki is English. However, the game is available in many languages, and we want to make the wiki available in as many languages as possible. Currently only a few pages are translated, and we need a better way to manage the translations, which is why this project was created.


If you have any questions, please feel free to ask on '''[[PZwiki talk:Project Translations|our discussion page]]'''.
If you have any questions, please feel free to ask on '''[[PZwiki talk:Project Translations|our discussion page]]'''.
{{Clear}}
{| class="pztable sortable" style="margin: auto; text-align: center;"
{| class="pztable sortable" style="margin: auto; text-align: center;"
|+ Languages for the wiki and the game
|+ Languages for the wiki and the game
Line 22: Line 23:
| English (UK) || [https://pzwiki.net/?uselang=en-gb en-gb] || [https://github.com/TheIndieStone/ProjectZomboidTranslations/tree/master/EN%20UK EN UK]<ref name="unavail">This is unavailable in game.</ref> || 0 || [[:Category:en-gb speaker|{{PAGESINCATEGORY:en-gb speaker}}]] || not present
| English (UK) || [https://pzwiki.net/?uselang=en-gb en-gb] || [https://github.com/TheIndieStone/ProjectZomboidTranslations/tree/master/EN%20UK EN UK]<ref name="unavail">This is unavailable in game.</ref> || 0 || [[:Category:en-gb speaker|{{PAGESINCATEGORY:en-gb speaker}}]] || not present
|-
|-
| Afrikaans || [https://pzwiki.net/?uselang=af af] || [https://github.com/TheIndieStone/ProjectZomboidTranslations/tree/master/AF AF]<ref name="unavail" /> || [[:Category:af|{{PAGESINCATEGORY:af}}]] || [[:Category:af speaker|{{PAGESINCATEGORY:af speaker}}]] ||  
| Afrikaans || [https://pzwiki.net/?uselang=af af] || [https://github.com/TheIndieStone/ProjectZomboidTranslations/tree/master/AF AF]<ref name="unavail" /> || [[:Category:af|{{PAGESINCATEGORY:af}}]] || [[:Category:af speaker|{{PAGESINCATEGORY:af speaker}}]] ||
|-
|-
| Catalan || [https://pzwiki.net/?uselang=ca ca] || [https://github.com/TheIndieStone/ProjectZomboidTranslations/tree/master/CA CA] || 0 || [[:Category:ca speaker|{{PAGESINCATEGORY:ca speaker}}]] || not present
| Catalan || [https://pzwiki.net/?uselang=ca ca] || [https://github.com/TheIndieStone/ProjectZomboidTranslations/tree/master/CA CA] || 0 || [[:Category:ca speaker|{{PAGESINCATEGORY:ca speaker}}]] || not present
Line 81: Line 82:


==Job board==
==Job board==
{{About|a general task list for the whole project|the progress of specific languages|#Translation progress|section=1}}
===Most visited pages===
===Most visited pages===
These pages are the most important pages to translate, as they are the most visited pages on the wiki.
To start translating the wiki, the following pages are the first to translate:
#[[Project Zomboid Wiki]] - main page of the wiki, recently reworked, needs to be updated.
#[[MediaWiki:Sidebar]] - This can only be edited by a [[PZwiki:Administrators|PZwiki administrator]]. Please contact one if you want to translate this page.
#[[PZwiki:Community portal]] - main page of the community, recently reworked, needs to be updated.
#[[Project Zomboid Wiki]]
#[[PZwiki:Community portal]]
 
Please check the pages above for your language and translate/update them if they are not translated yet.


===[[Help:Translations|Translation guide]]===
===[[Help:Contents|Help pages]]===
<s>
As the translating process is updated, help pages need to be updated as well. Basic editing help should be linked to [[mw:Help:Contents|MediaWiki]], PZwiki should only have pages that are specific to the wiki.
#Add instructions on how to change language in MediaWiki.
*About inner links in translatable pages, it's recommended to use {{tlx|ll}} instead of <code><nowiki>[[foo|bar]]</nowiki></code> to make links automatically translated.
#Add instructions on how to translate main page.
**For free links and inner links to untranslatable pages, just use wikitext links.
#Add instructions on how to translate the sidebar</s>
*About template code link in translatable pages, it's recommended to use {{tlx|tll}} instead of <code><nowiki><code><nowiki>...&lt;/nowiki>&lt;/code></nowiki></code> to simplify the code and make it easier to translate.
#Add instructions on how to translate the templates. (related templates need to be reworked first)
**For untranslatable pages, use both {{tlx|tlx}} and {{tlx|tll}} are okay.
#Other instructions to be added as needed.
*All translation pages should have <code><nowiki>{{DISPLAYTITLE}}</nowiki></code> to display the translated title of the page.
**Pages describing the ingame items' translation should be consistent with the [https://github.com/TheIndieStone/ProjectZomboidTranslations game's translation].
*All translation pages should have a {{tlx|Translation}} template to check if the page is up to date with the main page. (wip. See [[User:Vibrance/revision]])


===Templates===
===Templates===
#Update Navboxes and more templates to use [[Template:T]] (links) or [[Template:Translation]] (raw translation).
{{Note|type=warn|content=All templates of PZwiki are being cleaned up intensively recently, and there may be page corruption. Please wait until the cleanup is complete before continuing to translate the template.}}
#*Another method is to pass all the text that needs to be translated to the subpage through parameters and hand it over to the main template for combination. This method preserves the translation of the template document.
*[[Template:Translation guide]] - Currently all template pages should be translatable, it's recommended to add this template all English template pages' documentation.
#*<s>[[Template:T/sandbox]] get translation from pages' <code>DISPLAYTITLE</code> to translate the links instead of get data from [[Template:Translation]].</s> Will use [[Template:ll]] instead.
**[[Template:Documentation/sandbox]] - Since the documentation for most templates is not very long, and it is difficult to maintain having translated pages for each template's documentation, an attempt is being made to merge all template documents with template pages. {{tlx|Documentation}} will be replaced by {{tlx|Documentation/sandbox}} eventually.
#Translate and improve [[:Category:Mbox templates|notice boxes]].
*Making all templates translatable using the data from their language code subpages with {{tlx|tt}} instead of using {{tlx|Translation}}.
#*Latest changes to translating notice boxes use [[Template:Translation]], needs to be improved by:
**Update [[Template:Navbox]].
#*#Use simplified string to get text, e.g. <code>notice_improve_text</code> instead of sections of the notice box.
**Update [[Template:Infobox]].
#*#Get string from the language code subpage of the template.
**Update [[Template:Mbox]].
#<s>Figure out a way to keep how many pages are in each language, [[User:Vaileasys]] should have template for that? Maybe update count of the pages in [[PZwiki:Community projects]]? (requires all pages to be subpage of the relevant page).</s>
**Update [[Template:Crafting/core]].
*Since the sidebar has a "Language" section that links to other language versions of current page, the original {{tlx|Languages}} template can be remove from all pages.
*{{tlx|Translation}} should only contain essential translation data that will be widely used.


===Miscellaneous===
===Miscellaneous===
#Populate [[Template:Translation]] with content from [https://github.com/TheIndieStone/ProjectZomboidTranslations public translations] and start utilizing the template more (in progress; template should have a good documentation now).
*Add new languages to the wiki (especially the ones that the game comes with).
#Add new languages to the wiki (especially the ones that the game comes with).
#Move pages and categories to appropriate places according to the [[Help:Style guide]] (This will need coordination with [[PZwiki:Project Navigation and Categories|Project Navigation and Categories]]).
##The auto-translation template is required to automatically categorize pages and avoid adding categories manually.
#Use <code><nowiki>{{DISPLAYTITLE}}</nowiki></code> for all remaining non-English pages. (Mentioned in [[Help:Translations|translation guide]])
#Figure out a way to easily update translations whenever main page changes, indicate which version it's based it? oldid? (maybe it's enough for pages with a ''version'' category, other pages are not maintained frequently)
#Don't use <code><nowiki>[[page|xx]]</nowiki></code> for pages that use <code><nowiki>{{DISPLAYTITLE}}</nowiki></code>. (the links will automatically display the custom (translated) title)
#Use {{Tlx|Subpage}} template instead of manually inputting /xx for languages. (for links can use {{Tlx|T}})


===Technical (sysop)===
===Technical (sysop)===
#Figure out how to translate some interface elements based on the language chosen in MediaWiki (<s>sidebar</s>, site notice (heavily cached), <s>footer</s>…).
*Figure out how to translate some interface elements based on the language chosen in MediaWiki (<s>sidebar</s>, site notice (heavily cached), <s>footer</s>…).
#*Most [[Special:AllMessages|interface elements]] can be translated by wiki admins via Mediawiki interface pages, using the language code subpage [https://www.mediawiki.org/wiki/Manual:Interface/Sidebar/en#Translations].
**Most [[Special:AllMessages|interface elements]] can be translated by wiki admins via Mediawiki interface pages, using the language code subpage [[mw:Manual:Interface/Sidebar/en#Translations]].
#*All other elements require setting up by a system admin, such as Namespaces and custom footers (default footers can be translated as above [https://www.mediawiki.org/wiki/Manual:Footer#Customizing_the_built-in_items]).
**All other elements require setting up by a system admin, such as Namespaces and custom footers (default footers can be translated as above: [[mw:Manual:Footer#Customizing the built-in items]]).
#<s>Add full-fledge language support, such as Wikipedia or other MediaWikis? (wiki farm; extra maintenance burden).</s>
*To be like MediaWiki, adding full-fledge language support would require the [[mw:Extension:Translate|Translate extension]] (evaluate if it's needed for our use case).
#*To be like MediaWiki, this would require the [https://www.mediawiki.org/wiki/Extension:Translate Translate extension] (evaluate if it's needed for our use case).


==Translation progress==
==Translation progress==
Line 125: Line 127:


Also it is encouraged to add new tasks or cross out completed tasks on the certain language section below to help the translation progress.
Also it is encouraged to add new tasks or cross out completed tasks on the certain language section below to help the translation progress.
===General===
Translators are encouraged to translate the wiki pages in the following order:
#[[Help:Translations#Sidebar translations|Sidebar]]
#[[Help:Translations#Main page translations|Main page]]
#[[PZwiki:Community portal|Community portal]]
#[[Help:Contents|Help pages]]
#[[PZwiki:Mboxes|Message boxes]]
#Other pages...


===<span class="mw-customtoggle-cs" style="cursor: pointer;">Czech</span>===
===<span class="mw-customtoggle-cs" style="cursor: pointer;">Czech</span>===

Revision as of 14:13, 31 December 2023

< PZwiki:Community portal

Project Translations
PZwiki:Project Translations
Leader
Category
Status

Welcome to Project Translations, a PZwiki project that aims to improve translations of the wiki pages.

Since PZwiki is an English wiki, the main language of the wiki is English. However, the game is available in many languages, and we want to make the wiki available in as many languages as possible. Currently only a few pages are translated, and we need a better way to manage the translations, which is why this project was created.

If you have any questions, please feel free to ask on our discussion page.

Languages for the wiki and the game
Language name Language code Article count Speakers count Notes
wiki game
English (US) en EN 2,999 8 base language
English (UK) en-gb EN UK[1] 0 0 not present
Afrikaans af AF[1] 6 1
Catalan ca CA 0 0 not present
Czech cs CS 7 0
Danish da DA 0 0 not present
Estonian ee EE[1] 0 0 not present
German de DE 14 2
Spanish es ES 102 3
Spanish (Argentina) es-ar[2] AR 0 0 not present
Finnish fi FI 0 1 not present
French fr FR 87 5
Hungarian hu HU 1 0
Indonesian id ID 0 0 not present
Italian it IT 15 0
Japanese ja JP 100 1
Korean ko KO 22 1
Dutch nl NL 1 0
Norwegian no NO 8 0
Polish pl PL 31 3
Tagalog ph PH 0 0 not present
Portugese pt PT 2 0
Brazilian Portugese pt-br PTBR 66 2
Romanian ro RO 0 0 not present
Russian ru RU 88 9
Thai th TH 10 2
Turkish tr TR 320 1
Ukrainian uk UA 57 2
Chinese (Simplified) zh-hans CN 120 5
Chinese (Traditional) zh-hant CH 51 6
  1. 1.0 1.1 1.2 This is unavailable in game.
  2. Despite Spanish (AR) being a separate language in the game, the Argentinian Spanish is not supported language by MediaWiki, the only other other Spanish language currently available being es-formal. There is also Latin American Spanish (es-419) which is used for some MediaWiki translations, but it's not supported for the interface.

Job board

PlushSpiffo.pngThis section is about a general task list for the whole project. For the progress of specific languages, see #Translation progress.

Most visited pages

To start translating the wiki, the following pages are the first to translate:

  1. MediaWiki:Sidebar - This can only be edited by a PZwiki administrator. Please contact one if you want to translate this page.
  2. Project Zomboid Wiki
  3. PZwiki:Community portal

Please check the pages above for your language and translate/update them if they are not translated yet.

Help pages

As the translating process is updated, help pages need to be updated as well. Basic editing help should be linked to MediaWiki, PZwiki should only have pages that are specific to the wiki.

  • About inner links in translatable pages, it's recommended to use {{ll}} instead of [[foo|bar]] to make links automatically translated.
    • For free links and inner links to untranslatable pages, just use wikitext links.
  • About template code link in translatable pages, it's recommended to use {{tll}} instead of <code><nowiki>...</nowiki></code> to simplify the code and make it easier to translate.
    • For untranslatable pages, use both {{tlx}} and {{tll}} are okay.
  • All translation pages should have {{DISPLAYTITLE}} to display the translated title of the page.
    • Pages describing the ingame items' translation should be consistent with the game's translation.
  • All translation pages should have a {{Translation}} template to check if the page is up to date with the main page. (wip. See User:Vibrance/revision)

Templates

LightBulbYellow.png
All templates of PZwiki are being cleaned up intensively recently, and there may be page corruption. Please wait until the cleanup is complete before continuing to translate the template.
  • Template:Translation guide - Currently all template pages should be translatable, it's recommended to add this template all English template pages' documentation.
    • Template:Documentation/sandbox - Since the documentation for most templates is not very long, and it is difficult to maintain having translated pages for each template's documentation, an attempt is being made to merge all template documents with template pages. {{Documentation}} will be replaced by {{Documentation/sandbox}} eventually.
  • Making all templates translatable using the data from their language code subpages with {{tt}} instead of using {{Translation}}.
  • Since the sidebar has a "Language" section that links to other language versions of current page, the original {{Languages}} template can be remove from all pages.
  • {{Translation}} should only contain essential translation data that will be widely used.

Miscellaneous

  • Add new languages to the wiki (especially the ones that the game comes with).

Technical (sysop)

  • Figure out how to translate some interface elements based on the language chosen in MediaWiki (sidebar, site notice (heavily cached), footer…).
  • To be like MediaWiki, adding full-fledge language support would require the Translate extension (evaluate if it's needed for our use case).

Translation progress

You can check the progress of the translations below by clicking on the language name.

Also it is encouraged to add new tasks or cross out completed tasks on the certain language section below to help the translation progress.

Czech

Main page

  • Needs moving to the new format.
  • Needs translation of new links and general checking.

Sidebar

  • Needs translation.

German

Main page

  • Needs moving to the new format.
  • Needs translation of new links and general checking.

Sidebar

  • Needs translation.

Templates

  • Replace old navbox templates with the new ones.

Spanish

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation.

French

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation.

Others

  • Move pages (including categories) to subpages of English page.

Hungarian

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation.

Italian

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation.

Japanese

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation.

Korean

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation.

Dutch

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation. (Affiliates missing).

Norwegian

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation.

Polish

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation.

Translations

  • A lot of pages are terribly outdated (based on 0.2.0).

Portugese

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation (falls back to pt-br, Affiliates missing).

Others

Brazilian Portugese

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation.

Others

I checked and it seems that even these pages are in pt-br... Sarah52 (talk) 03:39, 22 April 2024 (BST)
  • Change the sections "Uso" to "Utilidade" from all pages that have it (eng equivalent: use to utility, as usage in portuguese "usagem" is not a really common word)

Russian

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation

Templates

  • Replace old navbox templates with the new ones.

Others

  • Move pages (including categories) to subpages of English page.

Thai

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation

Turkish

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation

Ukrainian

Main page

  • Needs moving to the new format.
  • Needs some checkups (some translation differs to what is in GitHub) – still needed?.

Sidebar

  • Needs translation

Chinese (Simplified)

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation

帮助

模板

载具

地点

Others

  • 模组开发
  • 生存指南
  • Move remaining pages and links from /zh-cn and /zh-Hans to /zh-hans (seems to be finished, unless something's missed still).

Chinese (Traditional)

Main page

  • Needs moving to the new format.

Sidebar

  • Needs translation (will fall back to zh-hans).

Others

  • Move remaining pages and links from /zh and /zh-Hant to /zh-hant.

Contributors

Want to be a contributor? You can add the appropriate Userbox so you can be properly counted toward the contributor count.

Just copy and paste the syntax onto your user page to display your contribution to this project.

Syntax Userbox
{{User project|Translations|leader}}
Translations

XXX is the project leader of Translations.

{{User project|Translations}}
Translations

XXX is a contributor of Translations.