ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Levashov <dima@glagol.ru>
To: ALT Linux <mandrake-russian@altlinux.ru>
Subject: [mdk-re] PHP+gettext
Date: Tue Apr  2 19:22:10 2002
Message-ID: <3CA9C1DE.4030507@glagol.ru> (raw)

Приветствую!

Решил тут попробовать gettext с PHP, и наступил на странные грабли:
пишу простой файлик php типа hello word
делаю po файл - перевожу - делаю mo файл
запускаю скрипт - все отлично переводит

дописываю в скрипт несколько новых строк - повторяю процедуру - oops
все новые строки не переводяться, а если апач срестартить - то и старые 
перестают переводиться

xgettext --help msgfmt --help прочел не единожды, но просветление не 
наступило

Объясните чайнику плз. кто виноват и что делать :)

  rpm -qa|grep php
php-common-4.1.2-alt3
php-sockets-4.1.2-alt3
php-mcrypt-4.1.2-alt3
php-manual-4.1.2-alt1
php-mysql-4.1.2-alt3
php-mhash-4.1.2-alt3
php-4.1.2-alt3
php-gd-4.1.2-alt3
php-readline-4.1.2-alt3
php-xslt-4.1.2-alt3
php-curl-4.1.2-alt3
php-gtk-0.5.0-alt3
mod_php-4.1.2-alt3

Best regards
Dmitry




                 reply	other threads:[~2002-04-02 19:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CA9C1DE.4030507@glagol.ru \
    --to=dima@glagol.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git