Skip to content
Snippets Groups Projects
Commit f958ff71 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

docs: some i18n clarifications

parent b4068fa7
No related branches found
No related tags found
No related merge requests found
...@@ -38,8 +38,15 @@ The entries in the template can be reordered after the generation if desirable. ...@@ -38,8 +38,15 @@ The entries in the template can be reordered after the generation if desirable.
translations like "Cancel" are already available in the LuCI base translation file (see translations like "Cancel" are already available in the LuCI base translation file (see
``packages/luci/po/templates/base.pot``) and can be removed from the template. ``packages/luci/po/templates/base.pot``) and can be removed from the template.
In addition, the i18n files must be installed in the package's Makefile:: In addition, some additions to the Makefile must be made. Instead of OpenWrt's default package.mk,
the Gluon version ``$(GLUONDIR)/include/package.mk`` must be used. The i18n files must be installed
and PKG_CONFIG_DEPENDS must be added::
...
include $(GLUONDIR)/include/package.mk
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
...
define Build/Compile define Build/Compile
$(call GluonBuildI18N,gluon-config-mode-geo-location,i18n) $(call GluonBuildI18N,gluon-config-mode-geo-location,i18n)
endef endef
...@@ -48,6 +55,7 @@ In addition, the i18n files must be installed in the package's Makefile:: ...@@ -48,6 +55,7 @@ In addition, the i18n files must be installed in the package's Makefile::
... ...
$(call GluonInstallI18N,gluon-config-mode-geo-location,$(1)) $(call GluonInstallI18N,gluon-config-mode-geo-location,$(1))
endef endef
...
Adding translations Adding translations
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment