[wp-polyglots] Why the language files are placed in wp-content/languages directory by WordPress 2.2?

Lloyd Budd lloydomattic at gmail.com
Thu May 17 16:59:53 GMT 2007


On 5/17/07, Mohd Tarmizi <tarmiziaffandi at yahoo.com> wrote:
> I've also noticed about this.
>
> In WordPress version 2.1, the right place to put the translation file would be in "wp-includes/languages". But if the script doesn't find anything in that directory, it will fall down to "wp-contents/languages". So, if you put the translation file into "wp-contents/languages" instead, the translation will also work.

No, the relationship is the other way around.

But if the script doesn't find anything in wp-contents/languages", it
will fall down to the original "wp-includes/languages".

The reasoning is as described in
http://trac.wordpress.org/ticket/3315, "this also simplifies
upgrading, because you don't have to remember to save/backup your
language files, before deleting the wp-includes folder, as per the
installation instructions."


More information about the wp-polyglots mailing list