[wp-polyglots] RC3 and default secret key
Milan Dinić
liste at srpski.biz
Wed Apr 2 11:26:44 GMT 2008
I have question about similar (possible) problem in wp-config-sample.php. On
the beginning we have lines where we put informations about database (name,
password...). But we have here again English phrases that should be replaced
with user's info. For example, first line:
define('DB_NAME', 'putyoudbnamehere');
Those phrases (putyoudbnamehere, usernamehere, yourpaswordhere) I also
translated but I changed this values in wp-admin/setup-config.php, and it
works with no problem (I did this from my beginning of translation on
version 2.3). I checked in svn and saw that some other translators did same
thing.
So, is there something similar what can be done here (like for secret key)
or this should changed in future releases?
2008/3/30, Bertilo Wennergren <bertilow at gmail.com>:
>
> Francesc Hervada-Sala wrote:
>
> Am Sonntag, 30. März 2008 04:32:48 schrieb Bertilo Wennergren:
> >
>
> But this means that the explanation in "wp-config(-sample).php" is
> > > not complete. The current explanation only says that the user should
> > > put a unique phrase in "wp-config.php". But actually the same phrase
> > > needs to be put into "<locale>.php" as well. That information is
> > > nowhere to be found. As it is now things will only work correctly
> > > if you don't change the default "unique" phrase, but you are supposed
> > > to change it, right?
> > >
> >
> I've looked this up in the code, the unique frase at <locale>.php is just
> > used in order to know if the user has changed the default setting at
> > wp-config.php. So if you translate this, you must translate both. But the
> > end user should only set wp-config.php. In fact, if the user changes both
> > the new unique frase will not get used at all.
> >
>
> Yes, I found that out later. It's a bit hard to wrap one's head around
> this slightly unusual concept: A default value that should not be used at
> all. If it's still there, something random should be used instead.
> But this not-be-used value can be changed into another not-to-be-used
> value in a localized version... I've never run into that before.
>
> (I know, it's actually a placeholder, not a default... but still
> confusing...)
>
> --
> Bertilo Wennergren <http://bertilow.com>
> _______________________________________________
> wp-polyglots mailing list
> wp-polyglots at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-polyglots
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-polyglots/attachments/20080402/29ff7ea6/attachment.htm
More information about the wp-polyglots
mailing list