Tag Info

New answers tagged

-1

I was getting the same error within my class. When I used class myClass { public $data_array = array( 'name' => __( 'Document category', 'opd2-document'), 'singular_name' => __( 'Document category', 'opd2-document' ), 'menu_name' => __( 'Document categories', 'opd2-document' ), ); public function ...


0

Go to http://pcentral.io/internationalization/and find the official website of the desired language Click the More link to open the official website related to that particular translation. For example, for Russian it is currently: http://wpcentral.io/internationalization/ru/ Find a Download Language Pack button and copy the url. E.g.: ...


0

Fellow readers, here is a link to the WordPress Polylang plug in as asked of a forumnist Before I understood what I was doing, I used Polilang to create three independent versions of the saame category, one French (Administration), one English (Admin), one Spanish (Administración). I later realized that these categories were not considered translations of ...


1

Since, 'the_title()' is not a static word, you can't directly translate it. Its value can be dynamic and saved in the database. So, you can either use plugins like 'WPML', 'qTranslate' or just learn how to do translation for the values which are saved in database.


0

i finally figured out a solution. I guess it's not the perfect one, because all posts are still looped and the wrong language just doesn't show, but for now it works. I am still open for ideas. My idea right now is to get the language of the post and don't display it if it doesn't match the pages language. Here's the new part. global $polylang; $postlang ...



Top 50 recent answers are included