Cookies help us deliver our services. By using our services, you agree to our use of cookies. More information

Difference between revisions of "Übersetzungen/en"

From Forum Freie Lastenräder
(Die Seite wurde neu angelegt: „==== Mark translations ====“)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages />
 
 
  
 
We are using the Translate Extension, here is an [https://www.mediawiki.org/wiki/Help:Extension:Translate/Translation_example overview].
 
We are using the Translate Extension, here is an [https://www.mediawiki.org/wiki/Help:Extension:Translate/Translation_example overview].
Line 19: Line 17:
 
* Click the pen next to a translation block
 
* Click the pen next to a translation block
 
* Enter your translation and click "Save translation"
 
* Enter your translation and click "Save translation"
 
=== Translate Links ===
 
 
Example: Link to page [[Freie Lastenräder]]
 
 
* Original (German): [[Freie Lastenräder]]
 
* Translated (English): [[Freie Lastenräder/en]]
 
 
Original Link
 
 
<pre>[[Freie Lastenräder]]</pre>
 
 
Link to english Version
 
<pre>[[Freie Lastenräder/en]]</pre>
 
  
 
=== Admins: Prepare pages for translation ===  
 
=== Admins: Prepare pages for translation ===  
Line 40: Line 24:
 
* Follow the instructions [https://www.mediawiki.org/wiki/Help:Extension:Translate/Page_translation_example on this page]
 
* Follow the instructions [https://www.mediawiki.org/wiki/Help:Extension:Translate/Page_translation_example on this page]
  
 +
<div class="mw-translate-fuzzy">
 
==== Mark translations ====
 
==== Mark translations ====
 +
Wrap the content you want to mark as translatable with the tag "translate".
 +
</div>
  
<pre>
+
Beispiel:
< translate >  
+
<gist>833770c36d41cf8252d86d14ba77a803</gist>
== Mein Inhalte ==
 
Lorem ipsum
 
< /translate >
 
</pre>
 
  
==== Sprachwahl einbinden ====
+
==== Add language chooser ====
  
Ganz oben, als erstes in der Seite
+
Include on top of the page:
 
<pre><languages /></pre>
 
<pre><languages /></pre>
 +
 +
==== Translate menu entries ====
 +
 +
* Edit Menu: http://dein-lastenrad.de/index.php?title=MediaWiki:Sidebar
 +
* Add translatable items to http://dein-lastenrad.de/index.php?title=MediaWiki:Sidebar-messages
 +
* Check the MediaWiki-Messages if strings are already present: e.g. http://dein-lastenrad.de/index.php?title=MediaWiki:Wissen, http://dein-lastenrad.de/index.php?title=MediaWiki:Wissen/de, http://dein-lastenrad.de/index.php?title=MediaWiki:Wissen/en
 +
* Check http://dein-lastenrad.de/index.php?title=Spezial:Übersetzen/wiki-sidebar

Latest revision as of 13:03, 19 May 2020

We are using the Translate Extension, here is an overview.

Change site language

  • Click on the user icon (top right)
  • In the dropdown-menu click the language
  • Choose your language

Translate pages

  • You must be registered and logged in.
  • Pages must be marked for translation.
  • A list of pages ready for translation: Spezial:Übersetzung_von_Seiten
  • Click on "Translate this page" below the headline
  • The translation interface opens
  • Click the pen next to a translation block
  • Enter your translation and click "Save translation"

Admins: Prepare pages for translation

  • Pages must be marked for translation, translation-blocks marked, translated and approved.
  • You must be registered, logged in and have the necessary rights – talk to Florian ( Benutzer:Fleg )
  • Follow the instructions on this page

Mark translations

Wrap the content you want to mark as translatable with the tag "translate".

Beispiel:

Add language chooser

Include on top of the page:

<languages />

Translate menu entries