Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-3 votes
0 answers
46 views

I have two GNU .pot files: A: # Singular Book msgid "{0} book" msgstr "" And B: # Plural books msgid "{0} book" msgid_plural "{0} books" msgstr[0] "" ...
1 vote
1 answer
43 views

If I run find src -iname "*.java" | xargs xgettext -ktrc -ktr -kmarktr -ktrn:1,2 -o po/keys.pot --from-code=utf-8 to create the keys.pot file, then this contains all strings given to i18n::...
timlg07's user avatar
  • 738
0 votes
1 answer
46 views

xgettext is no extracting the translatable strings from my gtk4 builder file. builder.glade: <?xml version="1.0" encoding="UTF-8"?> <!-- DO NOT EDIT! This file was @...
Joel's user avatar
  • 2,043
0 votes
1 answer
46 views

I'm using python, gettext and kivy to make a multi-language app. I have a label with some text Label(text = _("hi")). I made the code to be able to switch language, but that requires to ...
1 vote
2 answers
633 views

So I use gettext in my php project to translate strings. However, in som cases, the context of a string is not obvious so I would like to add a comment to the string for the translator. However, it is ...
0 votes
1 answer
321 views

I'm trying to generate msgctxt lines using xgettext. It is not clear to me how to define context in the keyword option. The documentation uses the term contextargnumc, but doesn't give a clear example ...
Dvel's user avatar
  • 1
1 vote
1 answer
683 views

In my source files I have string containing non-ASCII characters like sCursorFormat = TRANSLATE("Frequency (Hz): %s\nDegree (°): %s"); But when I extract them they vanish like msgid "&...
liftarn's user avatar
  • 444
1 vote
2 answers
138 views

Is there any way to do a dry run of xgettext on source files, in order to simply check if there are any differences compared to the current .pot file? I have set up a Github workflow that will run ...
2 votes
1 answer
109 views

I have a bunch of .cpp files which contain text including a literal percent sign. Those files don't use printf at all, they use iostream stuff: std::cout << _( "50 % of 10 is 5" ) <...
1 vote
1 answer
70 views

I'm stuck with xgettext missing tag attributes in HTML templates, e.g.: xgettext --keyword=_ --language=Python -o - - <<EOF <!DOCTYPE html> <html> <head> % msg = _('A ...
0 votes
1 answer
355 views

Given: debian10 + apache2 + gettext package installed. Having a .php file with some php+html code. I try ot use xgettext to grab the strings for translation from this .php file and save them into .pot ...
Natalya GNS's user avatar
1 vote
1 answer
860 views

I get a "Source code not available error" whenever i try to extract from source an Html5 source file. Note that when i change its extention to .php or try to extract from any php file, the ...
0 votes
1 answer
1k views

When using the following commands to generate a .po file: xgettext test.js -o test.pot -L JavaScript --from-code=UTF-8 msginit -i test.pot -o de.po --locale=de I get the following header: # Copyright (...
Florat's user avatar
  • 332
4 votes
1 answer
136 views

There's an issue in extracting strings (with xgettext) from gst-plugins-base where a string has null delimiters - static const gchar genres[] = "Blues000円Classic Rock000円Country000円Dance000円Disco\...
Drxxd's user avatar
  • 1,959
1 vote
1 answer
128 views

I'm implementing get text on my Discord bot and I have a few strings that come from configuration files for example: Regions where the game is from (Global server, Korean server, Japanese server, Asia ...

15 30 50 per page
1
2 3 4 5
...
8

AltStyle によって変換されたページ (->オリジナル) /