Localisation Sidebar/fr: Difference between revisions
(Created page with "=== Instructions ===") |
(Created page with "Vous pouvez aller à la page Special:Translate/wiki-sidebar pour commencer la traduction.") |
||
Line 12: | Line 12: | ||
=== Instructions === |
=== Instructions === |
||
Vous pouvez aller à la page [[Special:Translate/wiki-sidebar]] pour commencer la traduction. |
|||
There is a bug with the Download page. You can't redirect the link to "Download/fr", or "Download/de", etc. Instead, the link will point to the actual translation of "Download" in your language. |
There is a bug with the Download page. You can't redirect the link to "Download/fr", or "Download/de", etc. Instead, the link will point to the actual translation of "Download" in your language. |
Revision as of 18:16, 10 March 2019
La localisation est le processus consistant à fournir au logiciel une interface utilisateur multilingue. La documentation wiki peut également être localisé, comme décrit dans la section Traduire le wiki.
La barre latérale est un outil de navigation important dans le monde wiki, voir Manuel: Interface/Barre latérale pour plus d'informations.
Traduire la barre latérale
La barre latérale est maintenant entièrement traduisible avec l'extension Traduction, qui est disponible dans toutes les pages du wiki.
Dans le wiki FreeCAD, la barre latérale est implémentée à l'aide de modèles, qui changent le texte en fonction de la langue sélectionnée. Les détails techniques sur la façon dont cette fonctionnalité a été mise en œuvre sont décrits dans le sujet du forum Wiki navigation / translation.
Instructions
Vous pouvez aller à la page Special:Translate/wiki-sidebar pour commencer la traduction.
There is a bug with the Download page. You can't redirect the link to "Download/fr", or "Download/de", etc. Instead, the link will point to the actual translation of "Download" in your language. The best way to deal with it is to create this new page and do a redirection to the right page. More about redirection on Help:Editing.
Important notes
Most of the time there will be two strings for each item in the sidebar.
** {{int:sidebar-faq-target}}|sidebar-faq
The left one represents the target of the link, and the right one represent the text that will be displayed in the sidebar.
You can see the difference between the two by looking at the top of the translate box where the name of the variable is displayed. When the variable name ends with "-target", it means that you will be translating a target link. It's made to allow the translator to redirect the items to the translated pages, that is, by adding a language code at the end of the page name, for example, "/fr" for a French translation.
Do not add the language codes "/fr", "/de", "/es", "/ru", etc., if the translated page doesn't exists in that language, it will break the link. In this case, do not write anything else than the name of the page, or it will break the link.