mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
23 lines
611 B
Markdown
23 lines
611 B
Markdown
OPNsense language translation kit
|
|
=================================
|
|
|
|
The kit requires additional tools in order to properly extract strings
|
|
from the source code. You'll need to run this once locally:
|
|
|
|
# pkg install gettext-tools p5-Locale-Maketext-Lexicon python27
|
|
|
|
Regenerate dynamic strings that can't be found in the template
|
|
generation step (XML contents, etc.):
|
|
|
|
# make dynamic
|
|
|
|
Regenerate the translation template using:
|
|
|
|
# make template
|
|
|
|
Merge the latest template changes into the actual translations:
|
|
|
|
# make merge
|
|
|
|
The build system will automatically pick up all registered languages.
|