Tim
  • Member for 7 years, 10 months
  • Last seen more than a month ago
Localisation and Wordpress
0 votes

WordPress has no ability to switch language based on URL or query string parameter. In fact it does no dynamic language switching at all. Wherever you've seen this working, it would have been using a ...

View answer
why is translation not working on theme?
0 votes

I downloaded the free Rookie parent theme and have no problem displaying translations of "Search Results for: %s" on a successful search results screen. This works in the WordPress languages folder ...

View answer
What is the way to ship read-me strings like plugin-strings for internationalization?
0 votes

You can ship translations of some of the metadata used in your main plugin file's header comment fields. Namely: Name, Description, PluginURI, Author, and AuthorURI. Just add the source strings into ...

View answer
Cross origin ajax request always returns 0 when calling get_current_user_id();
Accepted answer
-1 votes

Don't write your own bootstrapper, use Ajax hooks via wp-admin/admin-ajax.php Documentation: https://codex.wordpress.org/AJAX_in_Plugins Then you can be sure WordPress has included all the functions ...

View answer
1
2