Bug 9249 - Add new language
Summary: Add new language
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: 3.8
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-10 05:21 UTC by tungnt
Modified: 2012-12-10 16:46 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tungnt 2012-12-10 05:21:44 UTC
I don't know how to add new language in koha 3.8.1
please, help me to do that
thanks in advanced
Comment 1 Katrin Fischer 2012-12-10 12:19:24 UTC
Hi,

Installing new languages is described in the wiki at 
http://wiki.koha-community.org/wiki/Installation_of_additional_languages_for_OPAC_and_INTRANET_staff_client

You need access to the command line to run the translation scripts. 

If there is no po file for the language (no existing translation) you can request adding the language on the translation mailing list.

I think your question is more of a support question and not a bug or feature request, so I am closing it.
Comment 2 tungnt 2012-12-10 14:56:19 UTC
I have done this guide, but i met this issue
Can't locate C4/TmplTokenType.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at TmplTokenizer.pm line 5.
BEGIN failed--compilation aborted at TmplTokenizer.pm line 5.
Compilation failed in require at ./tmpl_process3.pl line 19.
BEGIN failed--compilation aborted at ./tmpl_process3.pl line 19.

in don't know how to fix this. 
thank you
Comment 3 Katrin Fischer 2012-12-10 14:59:35 UTC
You need to export the Koha environment variables for the process to run correctly. Example from the wiki page:

sudo env KOHA_CONF=/etc/koha/sites/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib/ perl translate install fr-FR

The paths to the files may vary depending on how you did your Koha installation. Make sure the files/directories are in those places.

Also make sure you are running the scripts from your misc/translator directory with a valied language code.
Comment 4 tungnt 2012-12-10 15:13:47 UTC
I have install successfully and i active in Home › Administration › System Preferences > OPAC > I18N/L10N, however opac page doesn't show new language, it
Comment 5 Owen Leonard 2012-12-10 16:46:20 UTC
Please take this discussion to the Koha mailing list. This is not the correct forum for support questions.