[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-devel] CVS: koha/translator translator.readme,1.1,1.2
From: |
Pawel Skuza |
Subject: |
[Koha-devel] CVS: koha/translator translator.readme,1.1,1.2 |
Date: |
Thu, 12 Jul 2001 04:12:14 -0700 |
Update of /cvsroot/koha/koha/translator
In directory usw-pr-cvs1:/tmp/cvs-serv2633
Modified Files:
translator.readme
Log Message:
Spelling and english language corrections.
Index: translator.readme
===================================================================
RCS file: /cvsroot/koha/koha/translator/translator.readme,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** translator.readme 2001/06/26 22:13:50 1.1
--- translator.readme 2001/07/12 11:12:11 1.2
***************
*** 1,28 ****
! This is small note about 'translator.pl'.
Author: Pawel Skuza
email: address@hidden
! Script 'translator.pl' do two things:
! 1. Prepare strings which can be translate;
! 2. Translate strings used gettext.
! 1. Prepare strings which can be translate.
! Copy file 'translator.pl' into root koha directory and execute it.
eg.
cd /usr/src/koha
cp scripts/translator.pl .
./translator.pl some_file_name
! xgettext some_file_name -okoha.po
! vi koha.po //now you must
translate koha.po
! msgfmt koha.po -okoha.mo
cp koha.mo /usr/share/locale/$$/LC_MESSAGES //where $$ is your language
! note: if you omnit 'some_file_name' translator create 'koha.gettext.c'
! 2. Translate strings used gettext.
! You have to configure your apache. Put this lines in koha and opac virtual:
! Action text/html /cgi-bin/koha/translator.pl
! Action text/plane /cgi-bin/koha/translator.pl
! Don't forget set up the language preference in your browser.
--- 1,31 ----
! This is a small note about 'translator.pl'.
Author: Pawel Skuza
email: address@hidden
! The Script 'translator.pl' does two things:
! 1. Prepares strings that can be translated;
! 2. Translates strings using gettext.
! 1. Prepare strings which can be translated.
! Copy file 'translator.pl' into koha root directory and execute it.
eg.
cd /usr/src/koha
cp scripts/translator.pl .
./translator.pl some_file_name
! xgettext some_file_name -okoha.pot
! vi koha.pot //now you must translate
koha.pot
! msgfmt koha.pot -okoha.mo
cp koha.mo /usr/share/locale/$$/LC_MESSAGES //where $$ is your language
! note: if you omit 'some_file_name' the translator will create 'koha.gettext.c'
! 2. Translate strings using gettext.
! You have to configure your apache. Put these lines into koha and opac virtual
servers:
! Action text/html /cgi-bin/koha/translator/translator.pl
! Action text/plane /cgi-bin/koha/translator/translator.pl
! Don't forget to set up the language preference in your browser.
!
! Enjoy koha in your language!
!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-devel] CVS: koha/translator translator.readme,1.1,1.2,
Pawel Skuza <=