Two language versions for each article
I think and use the way about an WP Multisite install, see my answer, background, information and benefit on a older question.
I think and use the way about an WP Multisite install, see my answer, background, information and benefit on a older question.
How to reload wordpress textdomains at runtime
I guess you could use either HTML5 or IP based geolocation, set a current_language cookie and you are good to go. Or even better if you just simply ask the user about it. WordPress translation is not equal to multi-language by any means.
For the multilingual setup I´d recommend using WordPress Multisite. You can give each site it´s own top-level domain, or host them on subdomains or subdirectories. All sites in the network will share the same database (although they´ll have separate tables). To query the products you have a few options: Use switch_to_blog to query the other … Read more
When a user creates a new page/post/product on one site, use the XML-RPC API to create a matching one on the other site. Make sure to save the ID of the original post under a meta key for the “duplicate” post, and then use the response ID from the API to save the “duplicate” ID … Read more
I’m not completely sure whether this is what you want, but if the option page is in one language you can simply put the gettext call in the custom field itself to avoid using variables. For the admin you force the translation to spanish: function wpse227983_force_language ( $locale ) { if ( is_admin() ) { … Read more
How to have english digits in some posts with an rtl WordPress theme
The text_direction property of the WP_Locale class defaults to ‘ltr’ as per it’s declaration, then may be modified in the class’s init() initialization function in wp-includes/locale.php (near line #207 in WP 4.5) with the following logic: // Set text direction. if ( isset( $GLOBALS[‘text_direction’] ) ) $this->text_direction = $GLOBALS[‘text_direction’]; /* translators: ‘rtl’ or ‘ltr’. This … Read more
I have developed pages in that manner and if you are using WordPress functions and follow WP Codex it is same situation as if you developed custom page template. Just follow I18n for WordPress Developers and you will be fine.
WordPress is community translated. For a good number of languages, the translation is relatively complete and follows high quality standards. The codex page on WordPress in your language reports: WordPress in Urdu – اردو is ongoing, but slow. Need more contributors. So in essence: No, WP is not entirely translated to Urdu yet. You could … Read more