Gettext is a package for Ubuntu that contains internationalization and localization utilities so that programs can be compiled with native language support and so are able to output messages in the user's desired language.

learn more… | top users | synonyms

1
vote
1answer
16 views

How to fix broken `msgfmt` installation?

Several projects that I am trying to build from scratch appear to need msgfmt in order to build. They all fail. However, when I try to run it directly on the command line I get: $ msgfmt msgfmt: ...
0
votes
0answers
9 views

intltool-extract type param for a JSON file

Is there any value for intltool-extract --type param that can be used to extract strings from a JSON file?. Also, how could I set a value to mark it as "extractable" in the file? In ...
0
votes
0answers
155 views

How to upgrade gettext / autopoint on Ubuntu 15.04

I'm trying to compile a project that has a dependancy for gettext-0.19.3. I currently have 0.19.2 installed. I've tried: sudo apt-get install gettext sudo apt-get install autopoint sudo apt-get ...
2
votes
1answer
284 views

How to translate ListElement property with Ubuntu SDK

I have my fist Ubuntu Touch QML app running, and I am willing to translate it. Whenever I use a UI string in the qml files, I was careful to use i18n.tr("my text"). So now I need to generate the pot, ...
3
votes
1answer
338 views

xgettext output to specific folder

I am new using xgettext command. So I don't know what am I doing wrong. I put the command: xgettext -n *.php -o --output='/home/public/sample' in my script, but I get an error: xgettext: cannot ...
3
votes
2answers
3k views

Installing glib gives “You must have either have gettext support”

I'm trying to install glib-2.37.6 (also same problem with glib-2.32.1) and getting this error during configuration: You must have either have gettext support in your C library, or use the GNU ...
1
vote
1answer
2k views

How to build gettext from source? [closed]

I am attempting to build gettext 0.18.1.1 from the source under Ubuntu 12.04. I need to understand how to build it from the source because I am attempting to port it to another platform. I checked ...
1
vote
2answers
121 views

Translating quickly application

I created an application using quickly create ubuntu-application myapp. Then I created translations and created deb package quickly package to install and test it. When I run myapp all strings from ...
1
vote
1answer
247 views

What's the naming convention for ngettext short name?

gettext.gettext is imported as _: from gettext import gettext as _ It's some naming convention, right? What's the equivalent for gettext.ngettext? __?
0
votes
1answer
315 views

Path to gettext locales directory

I want add locales support to my python app, but I have problem with path to directory with translates. Defualt is /usr/share/locale, but what is recommended method to define it? Writing path in ...
9
votes
2answers
752 views

How to use gettext to make QML files translatable

I'd like to write a QtQuick app based on Python (PySide) and QML. I know Qt apps have got their own translation technology, but I would like to stick to gettext for this one. I'd like to know if it's ...
7
votes
1answer
631 views

How to make Glade load translations from /opt

I've created an application that I'd like to submit through the Ubuntu app developer process. One of the requirements for the process is that when installed, all files go into the ...