Re: [l10n-dev] How can I build languagepack?
Hi Yuji, The following issue might be a good reference, which has added Myanmar: http://www.openoffice.org/issues/show_bug.cgi?id=83349 After looking into solenv/bin/make_installer.pl invoked by dmake, I have found the reason why you got an error. In short, to make it, you would need to add your language to the following files: scp2/source/ooo/module_langpack.scp scp2/source/ooo/module_langpack.ulf After making modifications in those files, do cd $SRC_ROOT/scp2 build.pl deliver.pl cd $SRC_ROOT/instsetoo_native/util dmake ooolanguagepack_am Regards, Tora - To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org For additional commands, e-mail: dev-h...@l10n.openoffice.org
Re: [l10n-dev] How can I build languagepack?
Mr. Akiyama Thank you so much!! It's solved. I got language-pack for am. I added the following code to module_langpack.ulf in the last. [STR_NAME_MODULE_LANGPACK_AM] en-US = Amharic [STR_DESC_MODULE_LANGPACK_AM] en-US = Installs Amharic support in %PRODUCTNAME %PRODUCTVERSION And I added the following code to module_langpack.scp in the last. // Amharic Module gid_Module_Root_am LanguagePackageInfo = packinfo_office_lang.txt; ParentID = gid_Module_Langpack_Base; Sortkey = 10500; MOD_NAME_DESC(MODULE_LANGPACK_AM); #ifdef WNT Styles = (LANGUAGEMODULE); #endif End #ifndef WNT Module gid_Module_Langpack_Resource_am LanguagePackageInfo = packinfo_office_lang.txt; ParentID = gid_Module_Root_am; Sortkey = 100; Name = gid_Module_Langpack_Resource_am; Description = gid_Module_Langpack_Resource_am; Styles = (HIDDEN_ROOT); End #endif #ifndef WNT Module gid_Module_Langpack_Help_am LanguagePackageInfo = packinfo_office_lang.txt; ParentID = gid_Module_Root_am; Sortkey = 200; Name = gid_Module_Langpack_Help_am; Description = gid_Module_Langpack_Help_am; Styles = (HIDDEN_ROOT); End #endif #ifndef WNT Module gid_Module_Langpack_Fonts_am LanguagePackageInfo = packinfo_office_lang.txt; ParentID = gid_Module_Root_am; Sortkey = 300; Name = gid_Module_Langpack_Fonts_am; Description = gid_Module_Langpack_Fonts_am; Styles = (HIDDEN_ROOT); End #endif tora - Takamichi Akiyama wrote: Hi Yuji, The following issue might be a good reference, which has added Myanmar: http://www.openoffice.org/issues/show_bug.cgi?id=83349 After looking into solenv/bin/make_installer.pl invoked by dmake, I have found the reason why you got an error. In short, to make it, you would need to add your language to the following files: scp2/source/ooo/module_langpack.scp scp2/source/ooo/module_langpack.ulf After making modifications in those files, do cd $SRC_ROOT/scp2 build.pl deliver.pl cd $SRC_ROOT/instsetoo_native/util dmake ooolanguagepack_am Regards, Tora - To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org For additional commands, e-mail: dev-h...@l10n.openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org For additional commands, e-mail: dev-h...@l10n.openoffice.org
Re: [l10n-dev] How can I build languagepack?
Mr. Akiyama Thank you for your response. I referred the following page, and followed the operation. http://l10n.openoffice.org/L10N_Framework/iso_code_build2.html I added 'am' to 'postset.mk'. Do you mean that it is impossible to create 'am' language-pack if 'am' is not listed there, even though I added it? Cited from OOH680_m17/solenv/inc/postset.mk (2.4.1) = # Complete list of all supported ISO codes completelangiso=af ar as-IN be-BY bg br bn bn-BD bn-IN bs ca cs cy da de dz el en-GB en-US en-ZA eo es et eu fa fi fr ga gl gu-IN he hi-IN hr hu it ja ka km kn ko ku lo lt lv mk ms ml-IN mr-IN ne nb nl nn nr ns oc or-IN pa-IN pl pt pt-BR ru rw sk sl sh sr ss st sv sw sw-TZ te-IN ti-ER ta-IN th tn tr ts tg ur-IN uk uz ve vi xh zh-CN zh-TW zu = There are 88 language codes are listed in the file. The number of languages for 2.4.1, at told, including en_US, 89. However, 'am' is not listed there. Regards, Tora Yuji DOI wrote: I am trying to localize OOo 2.4 (OOH680_m12) to Amharic on Ubuntu 8.10. But I can't create language pack with the following command. $ cd instsetoo_native/util $ dmake ooolanguagepack Languages: am Creating language pack! ... languages am ... ... analyzing files ... ... analyzing files with flag ARCHIVE ... ** ERROR: ERROR: No packages defined! in function: check_packagelist ** - To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org For additional commands, e-mail: dev-h...@l10n.openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org For additional commands, e-mail: dev-h...@l10n.openoffice.org
Re: [l10n-dev] How can I build languagepack?
Yuji DOI wrote: Do you mean that it is impossible to create 'am' language-pack if 'am' is not listed there, even though I added it? I am afraid, but I am not sure. Cited from OOH680_m17/solenv/inc/postset.mk (2.4.1) = # Complete list of all supported ISO codes completelangiso=af ar as-IN be-BY bg br bn bn-BD bn-IN bs ca cs cy da de dz el en-GB en-US en-ZA eo es et eu fa fi fr ga gl gu-IN he hi-IN hr hu it ja ka km kn ko ku lo lt lv mk ms ml-IN mr-IN ne nb nl nn nr ns oc or-IN pa-IN pl pt pt-BR ru rw sk sl sh sr ss st sv sw sw-TZ te-IN ti-ER ta-IN th tn tr ts tg ur-IN uk uz ve vi xh zh-CN zh-TW zu = is the point where 'configure --with-lang=ALL' -- WITH_LANG environment variable -- expanded to all languages. Thus, it might be an easier point confirming if the target language is already supported or not. I might misunderstand you situation. What did you do so far? What did not you do yet? An attempt of adding a new language was a little bit complicated as described at http://l10n.openoffice.org/adding_language.html For 2.x, does anyone know pointers? Regards, Tora - To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org For additional commands, e-mail: dev-h...@l10n.openoffice.org
Re: [l10n-dev] How can I build languagepack?
Mr. Akiyama Thank you for your answer. What did you do so far? Firstly, I build normally. Next I merged our localized resource as follows. $ po2oo -l am -t en-US.sdf -i po -o GSI_am.sdf $ gsicheck GSI_am.sdf $ localize.pl -m -l am -f GSI_am.sdf I added 'am' to 'postset.mk'. I build with '--with-lang=am' option in configure. Then I could get debian package for English and Amharic. After that, I tried to get language pack with the following command: $ cd instsetoo_nativ/util $ dmake ooolanguagepack Then, I got language-pack for English. What did not you do yet? But I couldn't get language-pack for Amharic. Because of the following error: ** ERROR: ERROR: No packages defined! in function: check_packagelist ** Is it clear? What information do I need? Best Regards, Yuji DOI - To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org For additional commands, e-mail: dev-h...@l10n.openoffice.org
Re: [l10n-dev] How can I build languagepack?
Cited from OOH680_m17/solenv/inc/postset.mk (2.4.1) = # Complete list of all supported ISO codes completelangiso=af ar as-IN be-BY bg br bn bn-BD bn-IN bs ca cs cy da de dz el en-GB en-US en-ZA eo es et eu fa fi fr ga gl gu-IN he hi-IN hr hu it ja ka km kn ko ku lo lt lv mk ms ml-IN mr-IN ne nb nl nn nr ns oc or-IN pa-IN pl pt pt-BR ru rw sk sl sh sr ss st sv sw sw-TZ te-IN ti-ER ta-IN th tn tr ts tg ur-IN uk uz ve vi xh zh-CN zh-TW zu = There are 88 language codes are listed in the file. The number of languages for 2.4.1, at told, including en_US, 89. However, 'am' is not listed there. Regards, Tora Yuji DOI wrote: I am trying to localize OOo 2.4 (OOH680_m12) to Amharic on Ubuntu 8.10. But I can't create language pack with the following command. $ cd instsetoo_native/util $ dmake ooolanguagepack Languages: am Creating language pack! ... languages am ... ... analyzing files ... ... analyzing files with flag ARCHIVE ... ** ERROR: ERROR: No packages defined! in function: check_packagelist ** - To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org For additional commands, e-mail: dev-h...@l10n.openoffice.org