Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

translation

Translations does not work with .pot file

August 2, 2022August 1, 2022 by Magenaut

I’ve created a theme at underscores.me and it seems it is multi-language ready.

Categories Q&A, Wordpress Tags multi-language, translation Leave a comment

List of Default Translated Phrases

August 2, 2022August 1, 2022 by Magenaut

With <?php _e('Save Changes') ?>, I know the phrase, “Save Changes” can be translated automatically if the user’s locale is set to a different language. I’d like to know if there is a list of those already translated WordPress default messages.

Categories Q&A, Wordpress Tags translation Leave a comment

Best location for theme translation files

August 2, 2022August 1, 2022 by Magenaut

I usually store language files in /languages folder that is located in theme folder and it’s also recommended location by WordPress as well. However, it still doesn’t look like the best solution because files will be overwritten after theme updates.

Categories Q&A, Wordpress Tags localization, themes, translation Leave a comment

Use override_load_textdomain for cache translation and improve performance

August 2, 2022August 1, 2022 by Magenaut

I have a multisite wordpress with multiple localized sites (es_ES, de_DE, it_IT).
I want improve page speed by caching wordpress translation file.

Categories Q&A, Wordpress Tags performance, translation Leave a comment

When to use _e and __ for the translation?

August 2, 2022August 1, 2022 by Magenaut

What is difference between _e() and __() functions for the translation? In what cases e() and __ ()should be used?

Categories Q&A, Wordpress Tags theme-development, translation Leave a comment

pass object/JSON to wp_localize_script

August 2, 2022August 1, 2022 by Magenaut

I’ve got a working piece of javascript that contains an object literal.
But I need to localize it, and I’m ytrying to figure out how to rewrite it so that I can get wp_localize_script() to accet it, and output the correct format.

Categories Q&A, Wordpress Tags javascript, jquery, theme-development, translation Leave a comment

Translate widget titles using qTranslate plugin

August 2, 2022August 1, 2022 by Magenaut

I’m actually using the qTranslate plugin to translate my website. It works really well with everything except one thing. the titles of my sidebar widgets.

Categories Q&A, Wordpress Tags plugin-qtranslate, sidebar, title, translation, widgets Leave a comment

How to integrate get_post_time with date_i18n function?

August 2, 2022August 1, 2022 by Magenaut

I have date format and would like to translate to another language with date_i18n function how can I integrate with get_post_time here is my code :

Categories Q&A, Wordpress Tags date, localization, translation Leave a comment

generating po mo translating files from scratch in a wordpress theme

August 2, 2022August 1, 2022 by Magenaut

Maybe I’m missing something here but I really can’t find any answer to my question around the web.

Categories Q&A, Wordpress Tags translation Leave a comment

[Plugin WPML] : How to create a translation of a post using the WPML API?

August 1, 2022July 31, 2022 by Magenaut

I’m trying to figure out how to create a translation for a post using the internal WPML API (inc/wpml-api.php)

Categories Q&A, Wordpress Tags api, plugin-wpml, plugins, translation Leave a comment
Newer posts
← Previous Page1 … Page3 Page4
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress