Tag Info

Hot answers tagged

14

What is an Ubuntu localized image? Due to space restrictions, the official Ubuntu installation CDs (also known as ISO images) that can be downloaded from ubuntu.com contain only a handful of the many languages in which Ubuntu is available. Any additional languages can then be downloaded during or after the installation. Localized images are customized ...


9

Install the package named language-pack-<two letter language code> e.g. sudo apt-get install language-pack-es for Spanish Install the package named manpages-<two letter language code> e.g. apt-get install manpages-es for Spanish man pages. Set your LANG environment variable to <language>_<country>.<encoding>, e.g. ...


8

Short answer: Yes, Launchpad can be used to manage translations for a project on github. You can test launchpad's features with Launchpad Staging. Register your project on Launchpad. (Instructions can be found here.) Set up Launchpad to automatically import from Github. (Launchpad help page) Use https://launchpad.net/PROJECT/trunk/+setbranch to set up ...


7

At the moment, you can't translate the web ui. There's 2 reasons for this: There's a lot of actual technical work that needs to be done, and it hasn't been a priority so far Since we sell plans, the translations are a sensitive issue since it can lead to fraud. We would need some oversight over the translations, and we don't have the resources to do this ...


6

Translation files (.po files) should live under the same directory as the translation template (.pot file). That's generally the po/ folder: po/ myapp.pot de.po ca.po .. It's generally the job of the translators to create a .po file for their language out of the template and then send it to the developer, who will commit it to the source tree. Or the ...


6

For offline use: You can install dictd server and use Freedict Dictionary database for word translations. Install dictd: sudo apt-get install dictd Install translation database. eg. dict-freedict-eng-fra for English to French translation, dict-freedict-eng-spa for English to Spanish translation. sudo apt-get install dict-freedict-eng-fra sudo apt-get ...


5

perhaps you can try the python script found here. It uses the google translate API. Edit: seems that that api is a paid service now. Maybe you can use the oneliner from commandlinefu translate(){ wget -qO- "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=$1&langpair=$2|${3:-en}" | sed ...


5

The Translations page in the Ubuntu Wiki explains the process very well.


5

Package descriptions are translated in the ddtp-ubuntu pseudo-package, see https://launchpad.net/ddtp-ubuntu


4

This is due to the '"Bouncing" between branch imports and branch exports.' bug, to which I'd suggest you to add a comment to bring it to the attention of developers. On the other hand, I've had a look at the translations settings for your project and I see that you are using automatic exports but not automatic imports. Is there any reason for that? Cheers, ...


4

The Beta was an initial proof of concept that we used to test if the solution was possible. After the beta there has been a lot of work trying to get the code used on Linux to Windows, and at the moment we are very close. At the moment the code is mostly shared between the Linux version and the Windows version with a lot of development being done. When we ...


4

I usually use "Gnome Translate" for this. It's based on libtranslate, which can use several on-line services (including Google Translate, SYSTRAN, etc.) to translate text. There is also a commandline version: translate-bin.


4

Because LANGUAGE, which takes precedence over LANG, is set and unchanged. $ LANGUAGE=nl ls /nonexistent ls: kan geen toegang krijgen tot /nonexistent: Bestand of map bestaat niet More info is in the GNU gettext documentation: GNU gettext gives preference to LANGUAGE over LC_ALL and LANG for the purpose of message handling, but you still need to have ...


3

This information is stored in the file $HOME/.config/user-dirs.dirs. You can edit this file if you want to change some of the folder names. See the user-dirs.dirs manpage for some more information.


3

Binary MO files need to be generated at build time. This means that your build system needs to have a build target to read the textual PO files used as the source and convert them to the binary MO files that will be installed in the user's system. As you correctly point out, the msgfmt command (part of the gettext tools) will ultimately create them. So to ...


3

Google Desktop Translator is a Java application that runs on Ubuntu if Java was installed. The file you downloaded obviously is designed to install and uncompress from Windows or (see Javier Rivera's comment) may be another third party Windows program. Both will not work in Ubuntu. Download the appropriate .zip file directly from Google with this link: ...


3

First part of question already answered. This will answer second part of question. Look at this page and locate you language and open the page for your language team from the link. https://translations.launchpad.net/+groups/ubuntu-translators If your language is not in the list refer https://wiki.ubuntu.com/Translations/KnowledgeBase/StartingTeam on ...


2

Go to launchpad.net, and get an account (there's a Creating an account link in the "Get started" section). Then go to the translations area (there's also a link from the home page).


2

Launchpad translations uses a free software translation system called GNU gettext. This is available as a library for pretty much any programming language you decide to use. Normally, the syntax is something like: _('String in English') This will translate the string for the user using their locale. If there is no translation for their locale the English ...


2

Reinstalling the packages won't necessarily help because localization info was separated in Ubuntu. You may want to open Settings, Language support (icon with United Nations flag) and see if it prompts for localization not being completely installed. The font issue is specially challenging because these Unicode symbols should be supported by default. If you ...


2

The Ubuntu One Windows beta is English only as is the Ubuntu One web site.


2

It seems that Launchpad can have automatic translations for series only - see Importing templates page


2

Unfortunately, there is no way to see the result of your work live. However, during the development cycle, we upload language packs containing the translations done in Launchpad and in upstream projects twice a week. This way translators can see the result of their work quickly, but nevertheless there is a delay of a couple of days - i.e. it's quick, but ...


2

Here is two useful links https://wiki.ubuntu.com/Bugs/HowToTriage#Translation_Bugs_and_Launchpad_integration https://help.ubuntu.com/community/ReportingBugs#Filing_a_translation_bug


2

Given you are using Python, I'll presume that you are using setuptools/distribute/distutils as the build system. In such a case, you can use DistUtilsExtra.auto instead: from DistUtilsExtra.auto import setup setup( name="Your Project", version="0.1", ... ) You can pass the same arguments to setup() as you normally do for your package. ...


2

Also, remember to wrap strings in your app with _() to ensure they are translated. For example. mywidget.set_text(_("Help")) When you next run python setup.py build_i18n your POT file will then be generated.


2

I've solved this. I must use locale.gettext instead of gettext. I don't know what the difference is, but it works.



Only top voted, non community-wiki answers of a minimum length are eligible