[PATCH] i18n support: Update help Makefile with new languages.

This patch adds the new languages list in ui/pages/help/Makefile.am file to be recursively compiled/built/archived. The new languages are: German (de_DE), Spanish (es_ES), Franch (fr_FR), Italian (it_IT), Japanese (ja_JP), Korean (ko_KR), Russian (ru_RU) and the Traditional Chinese (zh_TW). Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com> --- ui/pages/help/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/pages/help/Makefile.am b/ui/pages/help/Makefile.am index fa9786b..ca6b3f7 100644 --- a/ui/pages/help/Makefile.am +++ b/ui/pages/help/Makefile.am @@ -14,7 +14,7 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -SUBDIRS = en_US pt_BR zh_CN +SUBDIRS = en_US pt_BR zh_CN de_DE es_ES fr_FR it_IT ja_JP ko_KR ru_RU zh_TW DITA_HTML_FILES = $(patsubst %.dita,%.html,$(wildcard */*.dita)) HTML_FILES = $(if $(DITA_HTML_FILES), $(DITA_HTML_FILES), $(wildcard */*.html)) -- 1.9.3

On 09/09/2014 08:32 PM, Paulo Vital wrote:
This patch adds the new languages list in ui/pages/help/Makefile.am file to be recursively compiled/built/archived.
The new languages are: German (de_DE), Spanish (es_ES), Franch (fr_FR), Italian (it_IT), Japanese (ja_JP), Korean (ko_KR), Russian (ru_RU) and the Traditional Chinese (zh_TW).
Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com> --- ui/pages/help/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/pages/help/Makefile.am b/ui/pages/help/Makefile.am index fa9786b..ca6b3f7 100644 --- a/ui/pages/help/Makefile.am +++ b/ui/pages/help/Makefile.am @@ -14,7 +14,7 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-SUBDIRS = en_US pt_BR zh_CN +SUBDIRS = en_US pt_BR zh_CN de_DE es_ES fr_FR it_IT ja_JP ko_KR ru_RU zh_TW
You also need to create those new directories and their Makefile.am otherwise the build will fail: cd ../../.. && /bin/sh /home/alinefm/kimchi/build-aux/missing automake-1.13 --gnu ui/pages/help/Makefile ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/de_DE does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/es_ES does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/fr_FR does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/it_IT does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/ja_JP does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/ko_KR does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/ru_RU does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/zh_TW does not exist make[3]: *** [Makefile.in] Error 1 make[3]: Leaving directory `/home/alinefm/kimchi/ui/pages/help' make[2]: *** [clean-recursive] Error 1 make[2]: Leaving directory `/home/alinefm/kimchi/ui/pages' make[1]: *** [clean-recursive] Error 1 make[1]: Leaving directory `/home/alinefm/kimchi/ui' make: *** [clean-recursive] Error 1
DITA_HTML_FILES = $(patsubst %.dita,%.html,$(wildcard */*.dita)) HTML_FILES = $(if $(DITA_HTML_FILES), $(DITA_HTML_FILES), $(wildcard */*.html))

On 09/09/2014 11:47 PM, Aline Manera wrote:
On 09/09/2014 08:32 PM, Paulo Vital wrote:
This patch adds the new languages list in ui/pages/help/Makefile.am file to be recursively compiled/built/archived.
The new languages are: German (de_DE), Spanish (es_ES), Franch (fr_FR), Italian (it_IT), Japanese (ja_JP), Korean (ko_KR), Russian (ru_RU) and the Traditional Chinese (zh_TW).
Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com> --- ui/pages/help/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/pages/help/Makefile.am b/ui/pages/help/Makefile.am index fa9786b..ca6b3f7 100644 --- a/ui/pages/help/Makefile.am +++ b/ui/pages/help/Makefile.am @@ -14,7 +14,7 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-SUBDIRS = en_US pt_BR zh_CN +SUBDIRS = en_US pt_BR zh_CN de_DE es_ES fr_FR it_IT ja_JP ko_KR ru_RU zh_TW
You can also use: SUBDIRS = $(dir $(wildcard */)) to avoid changing this file when other languages are added
You also need to create those new directories and their Makefile.am otherwise the build will fail:
cd ../../.. && /bin/sh /home/alinefm/kimchi/build-aux/missing automake-1.13 --gnu ui/pages/help/Makefile ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/de_DE does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/es_ES does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/fr_FR does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/it_IT does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/ja_JP does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/ko_KR does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/ru_RU does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/zh_TW does not exist make[3]: *** [Makefile.in] Error 1 make[3]: Leaving directory `/home/alinefm/kimchi/ui/pages/help' make[2]: *** [clean-recursive] Error 1 make[2]: Leaving directory `/home/alinefm/kimchi/ui/pages' make[1]: *** [clean-recursive] Error 1 make[1]: Leaving directory `/home/alinefm/kimchi/ui' make: *** [clean-recursive] Error 1
DITA_HTML_FILES = $(patsubst %.dita,%.html,$(wildcard */*.dita)) HTML_FILES = $(if $(DITA_HTML_FILES), $(DITA_HTML_FILES), $(wildcard */*.html))
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel

oops! My mistake! I thought I have sent the translated help pages in the same i18n support patch set. Are you (the community) interested in the translated help files? They are not complete and maybe outdated, but can be a good point of start to translation. -- Paulo Ricardo Paz Vital <pvital@linux.vnet.ibm.com> IBM Linux Technology Center On Tue, 2014-09-09 at 23:47 -0300, Aline Manera wrote:
On 09/09/2014 08:32 PM, Paulo Vital wrote:
This patch adds the new languages list in ui/pages/help/Makefile.am file to be recursively compiled/built/archived.
The new languages are: German (de_DE), Spanish (es_ES), Franch (fr_FR), Italian (it_IT), Japanese (ja_JP), Korean (ko_KR), Russian (ru_RU) and the Traditional Chinese (zh_TW).
Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com> --- ui/pages/help/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/pages/help/Makefile.am b/ui/pages/help/Makefile.am index fa9786b..ca6b3f7 100644 --- a/ui/pages/help/Makefile.am +++ b/ui/pages/help/Makefile.am @@ -14,7 +14,7 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-SUBDIRS = en_US pt_BR zh_CN +SUBDIRS = en_US pt_BR zh_CN de_DE es_ES fr_FR it_IT ja_JP ko_KR ru_RU zh_TW
You also need to create those new directories and their Makefile.am otherwise the build will fail:
cd ../../.. && /bin/sh /home/alinefm/kimchi/build-aux/missing automake-1.13 --gnu ui/pages/help/Makefile ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/de_DE does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/es_ES does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/fr_FR does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/it_IT does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/ja_JP does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/ko_KR does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/ru_RU does not exist ui/pages/help/Makefile.am:17: error: required directory ui/pages/help/zh_TW does not exist make[3]: *** [Makefile.in] Error 1 make[3]: Leaving directory `/home/alinefm/kimchi/ui/pages/help' make[2]: *** [clean-recursive] Error 1 make[2]: Leaving directory `/home/alinefm/kimchi/ui/pages' make[1]: *** [clean-recursive] Error 1 make[1]: Leaving directory `/home/alinefm/kimchi/ui' make: *** [clean-recursive] Error 1
DITA_HTML_FILES = $(patsubst %.dita,%.html,$(wildcard */*.dita)) HTML_FILES = $(if $(DITA_HTML_FILES), $(DITA_HTML_FILES), $(wildcard */*.html))

On 09/10/2014 06:03 PM, Paulo Ricardo Paz Vital wrote:
oops! My mistake! I thought I have sent the translated help pages in the same i18n support patch set.
Are you (the community) interested in the translated help files? They are not complete and maybe outdated, but can be a good point of start to translation.
Yeap! Please, send them too.
participants (4)
-
Aline Manera
-
Crístian Viana
-
Paulo Ricardo Paz Vital
-
Paulo Vital