It’s not, though you should do that too. The reason is that some people only need to translate theme to one language, so buying WPML on their part makes no sense. If you provide po and mo files, you make sure that anyone can translate your themes to any language they need. That is also pretty simple (you don’t need to create those files yourself, you can generate them), all you have to do is load them in your theme.
Ok thanks for your help I really appriciate that
Well I’m not sure if it’s required here, but you definitely should do it, it’s very simple. This is example from our themes:<wpml-config> <custom-types> <custom-type translate="1">project</custom-type> <custom-type translate="1">service</custom-type> <custom-type translate="1">staff</custom-type> <custom-type translate="1">testimonial</custom-type> <custom-type translate="0">slide</custom-type> <custom-type translate="0">view</custom-type> <custom-type translate="0">gallery</custom-type> <custom-type translate="0">video</custom-type> </custom-types> <taxonomies> <taxonomy translate="1">prj-category</taxonomy> <taxonomy translate="0">media-tags</taxonomy> </taxonomies> </wpml-config>This saves you from supporting troubles later too, not all users are technical.
Ok I see, thanks for the sample. So if i’m right, creating a lang/ folder with default.po and default.mo files isn’t required for making my theme WPML compatible?
1.) Make sure that every part of your theme is translatable via WPML
2.) Make sure that you have a place for language switcher defined in your theme.You don’t have to (and can’t) share plugin via your theme, you just declare compatibility, it’s up to buyers to buy the plugin if they need multilingual setup.
Thanks for the quick awnser. It sounds easier than I thought first. One more questions if you don’t mind: Do I have to create and include a language configuration file?
I’m a bit new to WP and some of my buyers ask for WPML Support. My question is what does WPML compatibility means exactly in a case of a theme? I mean it’s just like creating all strings with
and style and place the language switcher somewhere in my theme? And do I have to include the WPML plugins within my theme or not?
I’m curious about the things what I’ve to do to create my theme WPML compatible, because unfortunately the original documentation isn’t really helpful.
Thanks a lot!
I have a theme soft rejected, and the reviewer sent a guide about what needs to be corrected. He sent some screenshots about getting PHP error messages at some part of my theme.
I have my WP_DEBUG set to true, but I can’t get those error messages display. Is there any other way to display those messages so I could fix them?
I just found it
I’d like to use this image for one of my client work, but I haven’t found it in a stock version. Do you know the origin of this image, or where can I buy it? Thanks
Here’s a free one: http://www.pixeden.com/psd-web-elements/responsive-showcase-psd
after the site is made, asking for “blinking ad banners in the sidebar, like on other pages”