Regarding translation of schemas files
- From: Kenneth Rohde Christiansen <kenneth gnu org>
- To: gnome-hackers gnome org
- Subject: Regarding translation of schemas files
- Date: 30 May 2002 15:38:21 +0200
It seems that people didn't quite understand now to use the newly added
schemas support in intltool.
This is the way to do it:
cp file.schemas file.schemas.in
Add the file.schemas.in to POTFILES.in and not the file.schemas
Add the INTLTOOL_SCHEMAS_RULE and the file.schemas file (containing
translations) will be created.
Damien Donlon told me that a lot of modules are doing this wrong, and
just includes the schemas file in POTFILES.in. Please check what your
package is doing and correct it if necessary
Cheers, Kenneth
--
Kenneth Rohde Christiansen wrote:
>
> Well that is because people do it wrong. To get schemas files
translated
> you should do the following.
>
> cp file.schemas file.schemas.in
> add the file.schemas.in to POTFILES.in and not the file.schemas
>
> Add the INTLTOOL_SCHEMAS_RULE and the file.schemas file (containing
> translations) will be created.
Thank you Kenneth! Is there a good general awareness of this among
the package maintainers i.e have they updated their package
POTFILES.in to include .schemas.in files? In a spot check of :
gedit gnome-control-center gnome-utils
ggv gnome-desktop gperfmeter
ghex gnome-media nautilus
glade gnome-panel
gnome-applets gnome-session
..I only see references to .schemas in the POTFILES.in of gnome-panel,
gnome-utils & gedit yet most of these modules contain .schemas files
in their sources.
Maybe they don't all have translatable content but it might be an idea
to send a reminder to the gnome-hackers alias.
Regards,
Damien
>
> Cheers, Kenneth
>
> tor, 2002-05-30 kl. 01:11 skrev Damien Donlon:
> >
> > Hi All,
> > I am seeing a warning across languages when I try to intltool-update
[lang]
> > or intltool-update --pot on gedit from Gnome CVS. It reads :
> >
> > warning: file `gedit.schemas' extension `schemas' is unknown; will
try C
> >
> > I am using :
> > basil% intltool-update -version
> > intltool-update (intltool) 0.21
> > Written by Kenneth Christiansen, Maciej Stachowiak, and Darin Adler.
> >
> > So I am using a schemas supporting intltools version.
> > Any ideas what is causing the warning?
> >
> > Thanks,
> > Damien
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]