From f958ff718e97d77864fb1bb4723d5c79a44fd9cd Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Sat, 25 Apr 2015 19:36:21 +0200
Subject: [PATCH] docs: some i18n clarifications

---
 docs/dev/i18n.rst | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/docs/dev/i18n.rst b/docs/dev/i18n.rst
index 26b36436f..536baf1ad 100644
--- a/docs/dev/i18n.rst
+++ b/docs/dev/i18n.rst
@@ -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
 ``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
     $(call GluonBuildI18N,gluon-config-mode-geo-location,i18n)
   endef
@@ -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))
   endef
+  ...
 
 
 Adding translations
-- 
GitLab