[wp-polyglots] WordPress languages folder

José Fontainhas jfontainhas at gmail.com
Wed Jun 30 21:16:20 UTC 2010


Hold on.

If I remember correctly, and if you are talking about svn, the plugin
would have to go under
<locale>/dist/wp-content/<plugin-floder>/languages ("languages" is an
example, plugins are free to use whatever folder name they want or no
folder name at all for languages). However, this would mean that a
build of WordPress would include that plugin by default...

Or am I seeing it all wrong? (It *is* late...)

Z



On 30 June 2010 21:36, Milan Dinić <liste at srpski.biz> wrote:
> Translations should be included with plugin/theme. How would you add those
> translations to wp-content/languages/*plugin-folder-name* and later update
> them?
> When translations are in plugin/theme package, it means that
> you immediately have them without any additional work. Anything different
> just complicates things and is not easy for users.
>
> 2010/6/30 John James Jacoby <in at j-3.me>
>>
>> Hey everyone! First time using this list so be gentile. J
>>
>>
>>
>> For BuddyPress, we have a large number of users in languages other than
>> English, and when BuddyPress gets updated their po/mo’s are deleted, and
>> they are forced to redownload their translations.
>>
>>
>>
>> I was wondering if there is any compelling reason for plugins to NOT put
>> their translation files into wp-content/languages/*plugin-folder-name* and
>> then write their own functions to load those files, and update those files
>> when needed.
>>
>>
>>
>> Seems to me this would fix our problems, but I wanted to consult with you
>> all before giving it a go.
>>
>>
>>
>> Thanks!
>>
>>
>>
>> -John James Jacoby
>>
>> _______________________________________________
>> wp-polyglots mailing list
>> wp-polyglots at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-polyglots
>>
>
>
> _______________________________________________
> wp-polyglots mailing list
> wp-polyglots at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-polyglots
>
>


More information about the wp-polyglots mailing list