csutton
Imagine you wanted to localize the Wiki title. Anyone have an idea how to do that so that it works with the "translation" plugin?
It may sound odd to have a different wiki name depending on the browser language, but I have a logo that displays the wiki name, and I want the div class="logo" to be a sort of subheading.
Thanks in advance!
csutton
Incidentally, I figured out a workaround for this problem. Obviously (I realized since I posted above), you can't actually localize the name of your wiki. BUT, what I did was hide the logo div using css, then placed a $lang variable here instead. You have to create the variable in:
inc/lang/[lang]/lang.php
then call the variable in your main.php:
<?php echo $lang['myvariable']?>
This could be helpful for people looking to add new translated strings to their template.