[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What is the best way to localize files

From: Richard Bos
Subject: What is the best way to localize files
Date: Sun, 13 Nov 2005 23:30:04 +0100
User-agent: KMail/1.8.2

What is the best way to use msgfmt in a for localization of  
files?  Back in 2003 there was a discussion about introducing something like:

  locale_POTS = foo.pot
  foo_pot_SOURCES = a.c a.h b.c b.h ...
  foo_pot_XGETTEXTFLAGS = --keyword=_ --keyword=N_

Has this happened, is this available?

At the moment the has the following code:
        $(MSGFMT) -o $@ $<

PHP_LOCALE_DE_PO = php/admin/locale/de/LC_MESSAGES/messages.po
PHP_LOCALE_DE_MO = php/admin/locale/de/LC_MESSAGES/

localedir = $(phpkolabdir)/locale

phplocalededir = $(localedir)/de/LC_MESSAGES
phplocalede_DATA = $(PHP_LOCALE_DE_MO)

That is repeated for several languages.  If I may ask...., how to improve 
this??  The current problem is that 'make distcheck' fails with the following 
msgfmt -o 
msgfmt: error while opening "php/admin/locale/de/LC_MESSAGES/" for 
writing: unknown directory of file.

This is due to the output directory not being created.

Thanks in advance,

Richard Bos
Without a home the journey is endless

reply via email to

[Prev in Thread] Current Thread [Next in Thread]