36 lines
3.8 KiB
HTML
36 lines
3.8 KiB
HTML
<html><head><title>Localisation Sidebar</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Localisation Sidebar</h1></div>
|
|
|
|
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><p>Localisation is in general the process of providing a Software with a multiple language user interface.
|
|
</p><p>The Sidebar is an important navigation tool in the wiki world, as documented <a class="external text" href="http://www.mediawiki.org/wiki/Manual:Interface/Sidebar">here</a>.
|
|
</p>
|
|
<h2><span class="mw-headline" id="Translate_the_sidebar">Translate the sidebar</span></h2>
|
|
<p>The sidebar is now fully translatable with the <a class="external text" href="http://www.mediawiki.org/wiki/Help:Extension:Translate">Translation plugin</a> usable for all the pages in the wiki.
|
|
</p><p>This feature is a bit of an hack, so if you want some technical details on the way it has been implemented, you can refer to <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=21&t=9687&start=10#p80441">this post</a>.
|
|
</p>
|
|
<h3><span class="mw-headline" id="Instructions">Instructions</span></h3>
|
|
<p>You can go to the special page : <a href="https://www.freecadweb.org/wiki/index.php?title=Special:Translate/wiki-sidebar" title="Special:Translate/wiki-sidebar">Special:Translate/wiki-sidebar</a> to begin translation.
|
|
</p><p>There is a bug with the Download page. You can't redirect the link to "Download/lang". 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 <a href="https://www.freecadweb.org/wiki/index.php?title=Help:Editing" title="Help:Editing">Help:Editing</a>.
|
|
</p>
|
|
<h2><span class="mw-headline" id="Be_carefull">Be carefull</span></h2>
|
|
<p>You will find most of the time 2 strings for each item in the menu. One represent the text who is displayed in the sidebar, and the other is the target of the link.
|
|
</p><p>You can see the difference between the two by looking on the top of the 'translate box' where the name of the variable is displayed.
|
|
When the variable name ends with "-target", it mean that you are translating a target link. It's made to allow the allow the translator to redirect the items to the translated pages (by adding "/fr" after the name page for french translation for exemple).
|
|
</p><p>DO NOT add the "/lang" if the translate page doesn't exists in you langage, it will broke the link. DO NOT write anything else than the name of the page or it will broke the link.
|
|
</p>
|
|
<div class="thumb tleft"><div class="thumbinner" style="width:302px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Translate-sidebar-instruction.png" class="image"><img alt="" src="300px-Translate-sidebar-instruction.png" width="300" height="146" class="thumbimage" srcset="/wiki/images/thumb/6/6d/Translate-sidebar-instruction.png/450px-Translate-sidebar-instruction.png 1.5x, /wiki/images/thumb/6/6d/Translate-sidebar-instruction.png/600px-Translate-sidebar-instruction.png 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Translate-sidebar-instruction.png" class="internal" title="Enlarge"></a></div>Where to look</div></div></div>
|
|
<div style="clear:both"></div>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Localisation_Sidebar&oldid=151540">http://www.freecadweb.org/wiki/index.php?title=Localisation_Sidebar&oldid=151540</a>"</div>
|
|
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
|
|
</div>
|
|
</div>
|
|
<div id="mw-navigation">
|
|
<h2>Navigation menu</h2>
|
|
|
|
</body></html> |