Lecteur Markdown
LOCALE_MANAGER_DOCUMENTATION_EN
Feature: Locale Manager #
Language pack manager. Lists installed languages, identifies plugins missing translations for active languages, and allows searching translation strings across all locale files.
---
Installation and Configuration #
Via FTP: Upload the `locale_manager/` directory into `/plugins/`.
Via package manager: Select `locale_manager` from the available plugins list.
Paths:
- Main plugin: `/plugins/locale_manager/locale_manager.php`
- Configuration: `/plugins/locale_manager/conf/locale_manager.conf.inc.php`
- Widget: `/plugins/locale_manager/widget/`
Configuration parameters:
| Variable | Default | Description |
|---|---|---|
| `$basedisplevel` | `BASE_LEVEL_ADMIN` | Minimum required level |
| `$ftype` | `3` | Plugin type (system) |
Scanned directories:
- `locale/*/` — global locales
- `plugins//locale/.inc.php` — per-plugin locales
---
Usage #
Tab: Installed Languages #
Lists all available languages with their file path and flag.
Tab: Missing Translations #
For each active plugin, shows which enabled languages have no locale file. Useful for identifying plugins that need translation.
Tab: Browse / Search #
Searches a string across all locale files:
- Parameter `lmplugin`: restrict to a specific plugin
- Parameter `lmlang`: restrict to a specific language
- Parameter `lmq`: search term
- Only matching lines are displayed
---
Hooks and Entry Points #
?obj=locale_manager.php — Default view
?obj=locale_manager.php&lmsec=installed — Installed languages
?obj=locale_manager.php&lmsec=missing — Missing translations
?obj=locale_manager.php&lmsec=browse&lmq=TERM — Search
?obj=locale_manager.php&lmsec=browse&lmplugin=X&lmlang=fr — Filtered
---
Dependencies #
- Read access on `locale/` and `plugins/*/locale/`