Re: Add support for Feeds
- From: Emmanuele Bassi <ebassi gmail com>
- To: Zander Brown <zbrown gnome org>
- Cc: gnome-i18n <gnome-i18n gnome org>
- Subject: Re: Add support for Feeds
- Date: Sun, 5 Dec 2021 15:36:42 +0000
There are a couple of options, here:
1. add some custom target rule that does a pass of xgettext on the Blueprint files, using the `--language` command line argument to tell it to use the same rules as C files
2. use some script to extract the translatable strings into a C source file that does not get compiled, but is used by xgettext to extract the strings
3. commit the generated XML files, and let xgettext use those instead of the Blueprint files; this also avoids requiring the blueprint compiler when building your project from release tarballs
4. change the Blueprint syntax not to look like Vala or C, and instead use some custom marker; then blueprint can ship an ITS and LOC file pair to let xgettext know how to extract the files
To be quite honest, I'd recommend the last approach; the C syntax is obscure and weird.
Ciao,
Emmanuele.
--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]