Update
setlocale(LC_TIME, "th_TH.UTF-8");
echo strftime("%A %d %B %Y", strtotime(get_the_date()));
Before: อาทิตย์ 03 มกราคม 2016
//$strdate = get_thai_date();
//print_r($strdate["number"]); //preg, strstr or others.
//$strdate = date_i18n(...);
After: อาทิตย์ ๐๓ มกราคม ๒๐๑๖
Related Posts:
- Override default WordPress core translation
- How to get a translated string from a language other than the current one?
- Changing the language of a single page
- How to set locale in ajax requests?
- Translate content, not instance, per-post
- Make changes to translation?
- Where is the right .mo file inside the language repository?
- setlocale for date
- How to translate functions like get_the_date()?
- Can’t have a Persian website with a completely English admin panel!
- How to override default WordPress core language file
- How can you locate the .po file used for translation of a page?
- __() function inside html tags
- Qtranslate-X get raw post title value
- How to deal with differently translated prepositions?
- Different Language for Frontend vs Backend
- Custom strings for translation using Polylang plugin
- How to get a localized version of WordPress from a repository?
- How-to: Translate plural forms for themes/plugins with PoEdit
- generating po mo translating files from scratch in a wordpress theme
- Disabling Translation Update
- custom theme: english .mo file not working
- Unknown language json files
- Set language per post
- How to Translate Contact Form 7 using qTranslate? [closed]
- Localization works but still get “This plugin is not properly prepared for localization” msg in directory
- Why should I escape translatable strings? and how shall i do that?
- month name translation
- Translation of plugin in MU-PLUGINS directory not working
- Custom translation of Month names
- Should i use _n for pronouns in translation?
- I can’t translate text in my plugin using a .mo file, load_plugin_textdomain() function is always false
- How to add translation for a string
- How to translate a WordPress.org plugin?
- New plugin translation does not work
- Do i have make the content() also translation ready in theme?
- Transfer from English page to Arabic page
- Gutenberg not all editor text translated
- How does WordPress choose which translation file to use?
- How to get menu strings, categories and tags into po file for translation
- Compile errors during translation compile
- WPML Translated Term
- Proper way to create / manage gettext (.po, .pot) files?
- load_theme_textdomain path
- translating wordpress with poedit
- Change / tweak existing wordpress translations
- variables in translatable text
- How to display get_post_type() translated?
- loco translate plugin edits file in plugin folder
- Change the backend language of a single plugin
- How to add LTR to a custom theme which in RTL by default
- Translating publish dates to Arabic
- _e() function get text_string from function
- Updating WordPress Theme/Plugin POT file without losing line numbers consistency
- Translation for frontend
- How can i merge the translations from one .po file into the source on another .po file?
- Translate pages and URLs without duplicating
- Translating dynamic strings
- Translating plugin or locale file
- Is there any way to use @wordpress/i18n for
- Language file doesn’t work
- Using _e() or __() to translate text with div
- Translation from .mo file not working in theme
- How to solve a translation function issue with no arguments and missing a text-domain?
- Plugin has no US english translation file
- English version of my site show french strings [closed]
- Translation is not being output in one instance
- Why translations?
- POEDIT – Continue with translations
- How to translate functions.php?
- How do you translate comments_number function text in a theme?
- Proper way to use esc_html__ and esc_attr__ etc for escaping value for translation
- WordPress Translations
- How to translate wordpress backend to another language
- Translate arguments of a user added custom code [closed]
- WPML icl_register_string() throws fatal error but works [closed]
- Problem with Language translation
- WordPress translator plugin: Google Webmaster’s Tools shows hundreds of 404 not found errors. How to clean the mess?
- POT file generated using WP-CLI does not retrieve strings from translation functions with FQN (Qualifier)
- Automatic translation with different domains per languages?
- Using wp-cli to create a .pot file that interprets .twig files as well
- Translations not working on Safari
- Translate string inside twig template
- How to change WordPress core language using Loco Translate?
- How to call wordpress API to translate a post request
- How to get dashboard langauge not the website language?
- Translate wordpress without duplicate custom post
- WordPress in French Language [closed]
- How to ‘manually’ load translations/test domain outside theme context?
- Conditionally change WordPress core language
- How to use translation functions inside WordPress page
- Translation plugin with default language?
- Plugin localization persistance (woocommerce)
- Issue with strtotime() and Meta Box date
- WordPress translation
- White Space on translated strings lost
- String translation with or without po file
- Translating “comments”, “leave a comment”, “prev”, “next”, “share”
- Website Language/Locale Switching
- Can’t load text domain in a mu-plugin