xgettext Questions

4

I want to use django i18n support to translate my javascript files. I have the following javascript file: var test_text = gettext('example'); @withStyles(styles) export default class HomePage { ...
Tactual asked 4/9, 2015 at 17:30

8

Solved

Having started off with an incomplete gettext .pot file, the resulting .po translations file now includes a large number of translation strings that were not originally in the .pot file. How can I...
Houseroom asked 9/5, 2011 at 15:12

3

When using xgettext to generate a .pot file, at the top of the generated file I get this: # SOME DESCRIPTIVE TITLE. ... #, fuzzy ... What does the #, fuzzy mean? I know what it means if a trans...
Arria asked 27/3, 2013 at 6:33

3

Solved

I've got a python project with internationalized strings. I've modified the source codes and the lines of the strings are changed, i.e. in pot and po files lines of he strings are not pointing to c...
Befall asked 21/9, 2011 at 7:34

5

Solved

How can I compile a .po file using xgettext with PHP files with a single command recursively? My PHP files exist in a hierarchy, and the straight xgettext command doesn't seem to dig down recursiv...
Ostracod asked 8/12, 2009 at 2:32

1

Solved

I'm working on a Wordpress site using Timber as templating engine (twig for Wordpress). I want to translate the interface using the Wordpress gettext mechanism via PoEdit (uses xgettext). Template...
Krasnoyarsk asked 25/11, 2015 at 7:11

2

Solved

I have a pretty well-working command that extracts strings from all my .js and .html files (which are just Underscore templates). However, it doesn't seem to work for Translator comments. For exam...
Exarchate asked 21/8, 2012 at 10:21

3

(Really surprised this isn't answered anywhere online; couple posts over the past few years with a similar question, but never answered. Let's hope the Stackoverflow crew can come to the rescue) S...
Linn asked 27/7, 2010 at 8:26

2

I have a web application where I have several translations using gettext. But now I have done a major rewrite of the application and while most of the strings are the same, there are also quite a f...
Kennard asked 3/5, 2012 at 16:54

0

I have 2 problems to merge 2 .po files. I have 1 .po file(trans.po) for my applications localization, and another one (transNew.po) I produced recently. I need to merge them. But I when I run the...
Jasminejason asked 14/2, 2013 at 17:7

3

Is there a good, open-source, documented CMake module for gettext support? I mean: Extracting messages from sources Merging messages to existing translations Compilation of mo-files Installation...
Kalbli asked 20/5, 2010 at 17:6

1

Solved

I need to recursively scan all folders from a project for xgettext strings. How can this be done using xgettext on linux? My current parameters are: --default-domain=project -k_
Trifid asked 12/7, 2012 at 11:44

2

Solved

I incorporated a gettext-like localization system in my app, but my translation function looks like this: t($category, $string, [$plural_string, $number, $vprintf_arguments]) My PoEdit keywords...
Dyne asked 6/12, 2011 at 22:31

1

Solved

Running Django on Windows 7. I'm currently trying to translate a couple of Django templates using the instructions found in the django book chapter 19. I've added a translation tag to the template...
Uvula asked 30/9, 2011 at 14:57

4

Solved

I have a few questions: I know what gettext is. I've read a few posts where they mentioned xgettext and was curious as to what is the difference between the two. How can I install xgettext on Wi...
Emelyemelyne asked 30/8, 2009 at 3:21

1

Solved

django-admin.py makemessages dies with errors "warning: unterminated string" on cases where really long strings are wrapped: string = "some text \ more text\ and even more" These strings don't...
Ardeen asked 19/6, 2009 at 23:16

1

Solved

I'm looking at using xgettext to aid translation of large codebase, and I have two questions: if I have one .po file per-language, is there an easy way to update them all using a single xgettext ...
Invitatory asked 30/3, 2009 at 14:52
1

© 2022 - 2024 — McMap. All rights reserved.