Lint: How to ignore ” is not translated in ” errors?

I can’t compile/debug our Android app, because the localization files are not perfect yet. My IDE’s validation tool Lint create errors saying: newCardsOrderVals is not translated in ar, bg, ca, cs Compiling/installing/running with Ant works fine, but I would like to use my IDE to ease debugging. Is there a way to turn off this … Read more

get_locale() behaving strange in same functions.php file

I’m developing a multi-language web portal for my client – in English and Bengali. Instead of using multisite, I installed Polylang plugin. It’s working fine through the website. For different CSS styles, and different font-sizes I’m loading a separate stylesheet with: function styles_and_scripts(){ wp_register_style( ‘main-style-bangla’, get_template_directory_uri() . ‘/style-bangla.css’, ”, ”, ‘screen’ ); // load seperate … Read more

Can I use the same textdomain in two separate plugins?

I have two plugins lets name them PluginA and PluginB. Both are part of the same project I want to internationalize the text. The question is if I use same textdomain ‘myplugin’ but make two files one in PluginA and other in PluginB and load both using load_plugin_textdomain( ‘myplugin’, from PluginA ) load_plugin_textdomain( ‘myplugin’, from … Read more

Why does Chrome incorrectly determine page is in a different language and offer to translate?

The new Google Chrome auto-translation feature is tripping up on one page within one of our applications. Whenever we navigate to this particular page, Chrome tells us the page is in Danish and offers to translate. The page is in English, just like every other page in our app. This particular page is an internal … Read more