Wiki Translation: verschil tussen versies Geschiedenis weergeven

Geen bewerkingssamenvatting
 
(437 tussenliggende versies door 3 gebruikers niet weergegeven)
Regel 1: Regel 1:
The Waze community has created the following plugins/extensions/addons for use in the Waze web-based environments. (Client-side possible?)
{{TopLine}}
<languages />
<translate>
==Wiki Translation== <!--T:6-->


 
===Wiki Translate Extension=== <!--T:7-->
=Editing=
The translation of our  [[Wiki|Dutch Wiki]] pages is done with the help of the [https://www.mediawiki.org/wiki/Help:Extension:Translate Translate extension].
==Papyrus Extended Tools==
<br />
Simplified, original tool:
* [[Wiki|Dutch Wiki]] pages that start with the <i>"languages"</i> tag show in the language selection bar the available language versions.
 
* The base text of each page, that needs translation, is enclosed in <i>''translate''</i> tags..  
This plugin/extension which displays a table of all the current view's country, state, city and street names. You can select all segments of a street using a custom button. This extension makes it very easy to find and fix incorrect cities and states (for the US) and bad street names.
* The extension splits the indicated base text into paragraph sized units and creates a message group for them. One page would be one <i>message group</i>, where, in the simplest form, each paragraph would be one <i>message</i> in that group.
 
* You can have links automatically go to the user's preferred language version (only) when it exists, by using links of the form a page link with <i>Special:MyLanguage/Pagename</i>.
This table of information appears on the left side of the window, to the left of the map display area, and underneath the Properties drawer. If you don't see it, retract the Properties drawer.
<br />
 
===Translation process===
[http://code.google.com/p/waze-papyrus-extended-tools/ Download the Papyrus Extended Tools] (Firefox requires the [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey Addon].)
* Stable pages are marked for translation by the Translation administrator. You can request a page marked for translation via the Slack [https://wazebenelux.slack.com/messages/C6PV4QSS3 #team-wazeopedia] channel. The Wiki page [https://wazeopedia.waze.com/wiki/Netherlands/Special:PageTranslation Page translation] lists the pages to be marked for translation and the pages that are currently in translation.
 
<br />
 
'''Translate a page'''
Expanded tool '''''(NEW: 2012Jan)''''':
* Select a page marked for translation to translate. The page will display in top centered the text "Translate this page". Click this text.
 
* A window is displayed with "Message group All > plus the page title. Select the target language via the drop down list that is available top right hand side of the window.
This powerful plugin/extension expands on the capabilities previous tool (above). The display table is a movable and resizable popup window. Other functions include:[BR]
* Click on each message group box and translate the text. Click '''Save translation''' when done.
* The ability to select columns displayed. The list aggregates based on visible columns.
* Do this for all message group boxes.
* Batch editing of properties:
* After saving your translation the page is available in the target language.
- For example, allows the city name to be changed for segments of an entire street without losing the street names.
* Click the '''Review''' button, via the pencil icon, available if you hover the cursor over the translated text, you can still make changes to the translated text.<br />
- Interprets the street name "D17 - Av de Paris" in two fields: street id and street name. Thus it is possible to redefine the street id or street name independently. You can name a new D17 from a street already named.
<br />
- The id Street must meet the regex / [^] * [0-9] [^] * / (in French: something with a number without any spaces anywhere) [research "regular expressions" elsewhere]
To keep track of which page is translated and which pages are still to go please use the [https://docs.google.com/spreadsheets/d/1uEiOzc_pEO_cXHJrH7J7GfVgsacs2EDwwjwCxWvL9uA/edit#gid=0 Page Translation Google doc].<br />
* Select '''ALL segments''' within an area: Create a new landmark and then "Select in landmark." (Be sure to delete this temporary landmark before saving!)
<br />
 
===Links===
This code is still being refined by our dedicated fellow wazers (Alcolo47 and Slicer) but current versions can be found in 2 locations:
* [https://www.mediawiki.org/wiki/Help:Extension:Translate/Page_translation_example Page translation example]
*[http://waze-papyrus-extended-tools.googlecode.com/svn/trunk/waze.user.js Original code created by Alcolo47]
* [https://wazeopedia.waze.com/wiki/Global/Help:How_to_use_the_Translation_tool How to use the Translation tool]
* [http://waze-papyrus-extended-tools.googlecode.com/svn/branches/modSlicer/waze.roadType.user.js Road Types instead of IDs - la version de Slicer]  
</translate>
Discussion for the script can be found in the forum topic: [http://www.waze.com/forum/viewtopic.php?f=68&t=12337 "Plugin pour Papyrus" (in French)]
__NOTOC__
 
{{Bottomline}}
==Street to River==
[[image:street-created-selected-and-named.png|thumb|Street created, selected and named]]
[[image:created-river-after-helper-street-deleted.png|thumb|River created and helper street deleted]]
 
The script is designed as a helper for creating river landmarks for the free waze navigation system. The script transforms the the geometry of a new unsaved street to a river landmark. You can predefine the width of the river and the name of the river in the form of a special street name.  
 
Mini howto:
* install this script as greasemonkey script or chrome extension
* draw a new street but do not save the street
* add and apply a street name to define the rivers name and the the width of the river
: Example: ''20m Spree'' creates a 20 meters wide river named ''Spree''
* Select the helper street
* Click the '''Street to river''' button
* Delete the helper street
* Edit the new landmark as you like
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Examples of rivers created by the script:
* Spree: https://world.waze.com/cartouche/?zoom=2&lat=52.29672&lon=14.25296&layers=BTFFFTTTTFTTTFTTTTT
* Nottekanal: https://world.waze.com/cartouche/?zoom=1&lat=52.22414&lon=13.48316&layers=BTFFFTTTTFTTTFTTTTT
 
Download the script from: [http://userscripts.org/scripts/show/122049 userscripts.org]
(Firefox requires the [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey Addon].)
 
Discussion for the script can be found in the forum topic: [http://www.waze.com/forum/viewtopic.php?f=10&t=14550 "Greasemonkey script for easy river drawing"]
 
=LiveMap=
==LiveMap Navigation List==
This plugin/extension works with the Waze LiveMap only. After installing, create a route in the LiveMap by clicking on the origin and destination. Once the LiveMap requests the route, the left side area will switch from the current events scrolling list, to a navigation list of the route. Multiple routes are displayed. Each turn is clickable and the map will zoom to that location.
 
[http://userscripts.org/scripts/show/118389 Download the LiveMap Navigation List] (Firefox requires the [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey Addon].)

Huidige versie van 26 mrt 2020 om 13:55

Andere talen:

Wiki Translation

Wiki Translate Extension

The translation of our Dutch Wiki pages is done with the help of the Translate extension.

  • Dutch Wiki pages that start with the "languages" tag show in the language selection bar the available language versions.
  • The base text of each page, that needs translation, is enclosed in translate tags..
  • The extension splits the indicated base text into paragraph sized units and creates a message group for them. One page would be one message group, where, in the simplest form, each paragraph would be one message in that group.
  • You can have links automatically go to the user's preferred language version (only) when it exists, by using links of the form a page link with Special:MyLanguage/Pagename.


Translation process

  • Stable pages are marked for translation by the Translation administrator. You can request a page marked for translation via the Slack #team-wazeopedia channel. The Wiki page Page translation lists the pages to be marked for translation and the pages that are currently in translation.


Translate a page

  • Select a page marked for translation to translate. The page will display in top centered the text "Translate this page". Click this text.
  • A window is displayed with "Message group All > plus the page title. Select the target language via the drop down list that is available top right hand side of the window.
  • Click on each message group box and translate the text. Click Save translation when done.
  • Do this for all message group boxes.
  • After saving your translation the page is available in the target language.
  • Click the Review button, via the pencil icon, available if you hover the cursor over the translated text, you can still make changes to the translated text.


To keep track of which page is translated and which pages are still to go please use the Page Translation Google doc.

Links

Main Page | Index