[wp-polyglots] Locale Directory Structure
nbachiyski at developer.bg
Sat Apr 2 07:39:44 GMT 2005
Ryan Boren wrote:
> In order to make automated packaging easier, let's define the locale
> directory structure more precisely.
> All trunk development happens under lc_CC/trunk/. Beneath this we have
> the following arrangement (using fr_FR as an example):
> license.txt readme.html
> fr_FR.mo fr_FR.po
> 404.php comments-popup.php index.php search.php
> archive.php footer.php links.php sidebar.php
> archives.php header.php page.php single.php
> comments.php images searchform.php style.css
In lc_CC/trunk/theme we put the localized theme files, but where shall
we put the localized theme .po file?
Theme .po files (and maybe all external .po files, which the
localization teams could want to put into the repository) could reside
in the lc_CC/trunk/messages folder. However we then will need a proper
naming convention. Maybe something like
(theme|plugin)-theme_or_plugin_name-lc_CC.po or every theme/could have a
separate dir in the messages folder in which there is a lc_CC.po file.
Another variant is to put the theme .po file in the trunk/theme
directory and to possibly make trunk/plugins and trunk/themes
directories where to put another translated files (this means
trunk/theme should change to trunk/themes/default).
More information about the wp-polyglots