[wp-polyglots] Unique phrase on wp-config.php
Nikolay Bachiyski
nb at nikolay.bg
Sun Jul 6 15:26:25 GMT 2008
On Sun, Jul 6, 2008 at 6:02 PM, Francesc Hervada-Sala
<francesc at hervada.org> wrote:
> Hello,
>
> now there is not just one unique phrase on wp-config.php but 3:
> define('AUTH_KEY', 'put your unique phrase here'); // Change this to a unique
> phrase.
> define('SECURE_AUTH_KEY', 'put your unique phrase here'); // Change this to a
> unique phrase.
> define('LOGGED_IN_KEY', 'put your unique phrase here'); // Change this to a
> unique phrase.
>
> Nikolay told us once how to translate this, I think one should put the
> translation on a <locale>.php file or so, but I do not remember this any
> more. Could you please tell us once again how to translate this phrases?
>
Sure:
When translating wp-config-sample.php replace 'put your unique phrase
here' with a similar phrase in your language.
Then, in wp-content/languages/<your-locale>.php put:
$wp_default_secret_key = '<the-translated-phrase>';
For example, here is what the Bulgarian files look like:
dist/wp-config-sample.php:
define('AUTH_KEY', 'вашата супер-ултра-уникална фраза сложете тук');
define('SECURE_AUTH_KEY', 'вашата супер-ултра-уникална фраза сложете тук');
define('LOGGED_IN_KEY', 'вашата супер-ултра-уникална фраза сложете тук');
dist/wp-content/languages/bg_BG.php:
$wp_default_secret_key = 'вашата супер-ултра-уникална фраза сложете тук';
Could somebody, please, add this to the Codex i18n docs. It can be
helpful in the future.
Happy translating,
Nikolay.
More information about the wp-polyglots
mailing list