header menu language is not changed

#32 · closed · 4 comments

View on GitHub ↗

angeloscle

I am using Government of Canada’s Web Usability (GCWU) WET version 3.1.3 and when I change the language to Italian from a the right sidebar dropdown only the main content is changed and the menu stays default and with no submenus as well. I changed the first li text to italian from inside the includes/menu-it.txt . I also changed lang attribute of the file to "it" but nothing happens.

Comments

Joberrr

The WET 3 wordpress theme only supports English and French. In order to support other languages, you'll have to edit the theme files. Wherever you see <?php _e("<!--:en-->Government of Canada navigation bar<!--:--><!--:fr-->Barre de navigation de la gouvernement de Canada<!--:-->"); ?> You'll need to add your language tag <!--it--> and then fill in the missing translations.

angeloscle

@Joberrr Can you tell me which files I have to edit cause I cant find anything ?

Joberrr

You pretty much have to edit all of the theme files, especially: header.php footer.php comments.php archive.php index.php page.php sidebar.php single.php 1-column.php and 404.php That should do it. Searching for '<?php _e' should also help you find all instances of the qTranslate language tag.

angeloscle

cheers