Translating theme
-
Hello,
I’m making my first big theme for wordpress and i’m still fairly new with php. I’m trying to make my theme in multiple languages and already tried the the following to do so:
Setting the text domain in the style.css and adding
<?php __('title', 'text-domain');?>
in my pages. I added in my theme a language folder with the po files in the 2 languages that i’m using. en_US.po and nl_NL.po (With the mo files) I added the languages in qtranslatex and tried to switch languages. The website switches but the custom fields don’t. I tried to understand the integration guide but i’m getting stuck somewhere but I don’t know where? The wordpress wiki isn’t any help too sadly and there are barely any turorials online for this plugin. If somebody could help so I could understand what I am doing wrong, that would be amazing!
- The topic ‘Translating theme’ is closed to new replies.