Forum:Bugs in dynamic navigation

Dynamic navigation used to hide menus like this right. Well, it works, but does not work correctly. In my language, show means "Mostrar" and hide means "Esconder". But the only word is "Esconder" when clicking. Well, look at this template in my wiki and you will understand. 00:21, April 9, 2010 (UTC)
 * Guys, help me, this template will appear on many pages, I made a picture for you to compare:

14:48, April 9, 2010 (UTC)


 * Copying over thing from wikipedia is not a thing that should be encouraged.
 * Instead use what is already awailable on Wikia.
 * >> http://dev.wikia.com/wiki/ShowHide
 * — TulipVorlax 15:04, April 9, 2010 (UTC)


 * It worked. But how do I change the show/hide words for my language? I think you should not understand my language, is Portuguese (pt-português) and this is the translation:


 * Show: Mostrar
 * Hide: Esconder

MediaWiki:Common.js of my wiki. Thanks 17:36, April 9, 2010 (UTC)


 * That Button lable code is contained in a .js file according to wikipedias help page for navigation / collapsible templates. Here - Try updating your local version with your language version.


 * Wikipedia templates are not 100% compatable with wikia but most do now work (with some updating of links and other bits of code). when i first started on wikia I had big problems as i tried to copy lots of them with wikipedia pages and they would not work due to the Parser function being different (with help i got a work round to work to create the V.D.E buttons to operate on the Navigation box template).


 * Another problem is so many templates are nested on wikipedia, so it is hard to track were the problem is (especialy if the doc pages are added as well, as the examples call other templates) - BulldozerD11 19:06, April 9, 2010 (UTC)


 * - Its in the common.js you linked to above, in the 3rd main section down

(navigation bars) section

// set up the words in your language var NavigationBarHide = '[Hide]'; var NavigationBarShow = '[show]';

Change the code to if you have admin acces to the page.(if not you need an admin to edit the file) or to get it to work just for you edit your own JS file as per wikipedias help section. // set up the words in your language var NavigationBarHide = '[Esconder]'; var NavigationBarShow = '[Mostrar]';


 * Think thats it if I've undertood the Question correcly - BulldozerD11 19:20, April 9, 2010 (UTC)