Questions tagged [gettext]
GNU gettext is a set of tools that provides a framework to produce multi-lingual messages in software.
5 questions
1
vote
1
answer
170
views
Parsing msgcat merge conflicts into "nice looking" console errors using bash and assorted CLI tools
I was asked by @terdon to post this follow-up to a more specific issue I had and resolved over here.
Apparently my choice of tools has not been a particularly smart one, so I shall describe the use ...
0
votes
0
answers
282
views
Unexpected syntax error in VERSION file when building gettext
I am trying to build the gettext package from source.
When running make I receive an error:
make[5]: Entering directory '/source/gettext-0.22/gettext-tools/libgettextpo'
[..........]
libtool: link: ...
0
votes
1
answer
195
views
Problem installing php-gettext-gettext package on Centos 9
I tried several options to install php-gettext-gettext package.
dnf install php-gettext-gettext
also
dnf --enablerepo=remi install php-gettext-gettext
but there is no such package in these ...
1
vote
0
answers
17
views
Find out how complete a translation is based on the binary mo file
Based on the binary *.mo file I would like to find out how complete the language is translated.
When I would have a *.po file it would be easy of course. I also tried de-compile the mo-file via ...
11
votes
2
answers
3k
views
Make `envsubst` fail if a variable is not defined
I have a file with a large number of variables in it.
$ cat message.txt
Hello, ${LOCATION}! You too, ${PERSON} ;)
If PERSON is not defined, envsubst replaces it with nothing:
$ LOCATION=World ...