variables in translatable text

The translation strings not only get parsed during rendering (output on screen/in browser), but also by the GNU gettext parser. This one is not a PHP parser, so it can’t fetch variables. This is the only part of a Theme or a Plugin, where you need to repeat yourself and add the plain string to … Read more

Why is the generated POT file from WordPress.org not adding my plugin description to the POT file?

The makepot code being used on WordPress.org is a slightly older version that we have not updated yet, specifically with this fix: https://core.trac.wordpress.org/ticket/25665 Basically, it’s only looking in stripe.php for your main plugin lines, not searching for and then finding stripe-checkout.php. This was fixed in the developer tools 7 weeks ago: https://core.trac.wordpress.org/changeset/27399 But the change … Read more

Possibility to use WordPress built-in localization

It is possible, and in some cases make sense, but I would advice against thinking that way. Some words in the context of wordpress core admin might be translated differently in the context of a theme. If the motivation here is to save translation time, then don’t bother as any one with translation experience will … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)