#1737 closed task (blessed) (wontfix)
Move language files to plugin subdirectory
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0 |
Component: | Locale - i18n/l10n | Keywords: | |
Cc: | sooskriszta |
Description ¶
At the moment,
/wp-content/plugins/bbpress location of bbPress plugin
/wp-content/plugins/bbpress/bbp-languages location of .pot
/wp-content/languages/bbpress/ location of language files (.po .mo)
.pot .po and .mo files should be located in and accessed from a single location
/wp-content/plugins/bbpress/languages
Pull Requests
- Loading…
Change History (3)
#2
@
13 years ago
- Milestone Awaiting Review deleted
- Priority changed from high to normal
- Resolution set to wontfix
- Status changed from new to closed
The reason they aren't in the plugin subfolder is because any languages will get deleted when a bbPress update comes through. In the future, plugins will pull their translations directly from GlotPress and this will be a non-issue. Until then, stashing them in the core languages folder is the safest place.
#3
@
13 years ago
The overwriting won't be a problem if bbPress ships with the languages.
http://bbpress.trac.wordpress.org/ticket/1738
GlotPress is an interesting concept. But do you think it is a good idea for the translation to be pulled live from a web service? I can think of several concerns:
- If glotpress website goes down, then millions of non-English sites will practically become unusable
- What about latency? Wouldn't this add another layer of delay? Of particular concern to shared hosting users
- Also regarding latency, will this mean that the pages can't be fully cached as static?
Or maybe I haven't understood how GlotPress will work...maybe every update to the language will push .mo .po files to the WordPress installation, and these files will continue to be stored locally...
At the moment,
location of bbPress plugin
/wp-content/plugins/bbpress
location of .pot
/wp-content/plugins/bbpress/bbp-languages
location of language files (.po .mo)
/wp-content/languages/bbpress/
.pot .po and .mo files should be located in and accessed from a single location
/wp-content/plugins/bbpress/languages
This is the standard for WordPress plugins.