[wp-polyglots] RC3 and default secret key

Nikolay Bachiyski nbachiyski at developer.bg
Sat Mar 29 14:35:44 GMT 2008


2008/3/29, Francesc Hervada-Sala <francesc at hervada.org>:
> Am Freitag, 28. März 2008 19:07:00 schrieb Nikolay Bachiyski:
>
> > Except for the RC3, there is a more specific localization problem for
>  > 2.5 I would like to cover. Probably you have already seen that in the
>  > new wp-config-sample.php there is a line like:
>  >
>  > define('SECRET_KEY', 'put your unique phrase here');
>  >
>  > It is very very important that you either:
>  >
>  > 1. Do not translate 'put your unique phrase here'
>  >
>  > or
>  >
>  > 2. Translate it, but create a file named your-locale.php in
>  > wp-content/languages/ and insert the following line there:
>  >
>  > $wp_default_secret_key = 'your translated phrase here';
>
>
>
> Hey Nikolay,
>
>  thank you for this information.
>
>  I had already translated this string at wp-config-sample.php without putting
>  the <locale>.php file but instead translating the same string at
>  wp-settings.php. Is this ok, too?

It works, but it would be better to include <locale>.php. For the next
release you won't need to change any core files, so the transition
will be easier if you don't have any other patches. Moreover the
<locale>.php approach will work also if the user has the original core
files.

Nikolay.


More information about the wp-polyglots mailing list