Questions tagged [po]

PO files are the format of the GNU gettext translation files.

PO files are the format of the GNU gettext translation files.

A PO (Portable Objects) file is made up of many entries, each entry holding the relation between an original untranslated string and its corresponding translation. All entries in a given PO file usually pertain to a single project, and all translations are expressed in a single target language.

They usually have to be compiled in MO (Machine Object) file to be used in applications.

263 questions
2
votes
1 answer

Localization via Locale::Maketext::Simple always falls back to default instead of .po entry

In a perl Module I want to use https://metacpan.org/pod/Locale::Maketext::Simple to convert strings to different languages. My .po files are located unter /opt/x/languages, e.g. /opt/x/languages/en.po. In my module I'm using the following…
eraelpeha
  • 409
  • 5
  • 15
2
votes
1 answer

PO file localization not working as expected for data annotation

I have used Orchard Localization in my asp.net core application. Startup.cs services.AddPortableObjectLocalization(options => options.ResourcesPath =…
Suvethan Nantha
  • 2,404
  • 16
  • 28
2
votes
1 answer

python dataset - Read a group of column and place it in seperate dataframe?

Can anybody help me as i am new to python.I having an dataset named purchasing data,where log data of every PO activity for every CaseID's are present in the dataset. Case Id Activity transactionstatus …
krish
  • 33
  • 2
2
votes
1 answer

use of "po" to get data from server response in console log

i know this is very basic question that i am gonna ask but i need to ask how can i access data which is dictionary that is getting from server. here is my response JSON: { message = "The email must be a valid email address.";} now i want to do…
Bhaumik Joshi
  • 245
  • 1
  • 7
  • 17
2
votes
2 answers

.po file for default cakephp libs translations

How to add the translations for cakephp libs files to by default.po file for example - months name - day's name - timeAgoInWords i try to add strings to default.po manually but everytime i update it from default.pot (using poedit) the strings are…
baur79
  • 273
  • 5
  • 18
2
votes
1 answer

PyQt Localization: Translating a text through QPushButton w/ use of .po file

So I've tried researching for solutions for this what-seem-to-be simple question I have but to my surprise, I could not find anything about it. Anyway, I would like to translate a specific text from English to Irish and vice versa when the specific…
madLad
  • 155
  • 1
  • 2
  • 11
2
votes
1 answer

How to translate "Unable to stat %s\n" in German?

I have a translation question but I am asking it here because I think it needs technical understanding. In order to translate a program to German, I have this line in the .po file: #, c-format msgid "Unable to stat %s\n" msgstr "" What does this…
haheute
  • 2,129
  • 3
  • 32
  • 49
2
votes
0 answers

Import file.po into odoo for translation of fields from English to French

I am trying to import a file.po into Odoo to change some fields. Knowing that I have original fields in English and I want to translate some of them into French. I export the file.po I edit it with poEdit I save the changes I try to import it and…
2
votes
1 answer

Odoo: Opensource tool to convert .CSV files to .PO file

Is there any opensource tool which will converts .CSV file to .PO file. If not tool, any code written in Python to convert .CSV to .PO file.
2
votes
0 answers

Odoo new module language translation

I have created a new module. I want to translate it in Arabic. I have .csv file, I want to convert it into .po file. Is there any opensource tool except poedit to do conversion. or Is there anything when I create fields in Python,to get .po file…
2
votes
1 answer

How to give multiline & single line comment in translation PO file?

How to give multiline & single line comment in translation PO file ? I am not able to give multiline comment in po translation file in odoo , I have to comment 2000 line code at once So how can it done ?
sakib keriwala
  • 129
  • 3
  • 14
2
votes
2 answers

Deleting .po and .mo files from WordPress?

I have several themes that contain .mo and .po files for translations. The only reference to these files in the code is similar to this: load_theme_textdomain('ThemeName',$template_dir.'/lang'); Would it be safe to delete the lang directory from…
Jamie
  • 105
  • 1
  • 3
  • 9
2
votes
1 answer

How can I setup my PHP website as a multilingual site?

I'm trying to see what the best way to translate my PHP website into other languages is. My website is currently in English, and I know I can create different language files (e.g. en.php, pt.php, es.php, etc.) with the different language variables…
olimits7
  • 555
  • 2
  • 9
  • 26
2
votes
0 answers

How can I change the language name of the I18N code?

i need some help with a internationalization (I18N) issue for a website. In trying to change the value of the language name of the I18N code, I have a select form with the languages so i change it, this is the code of the select:
Mikel
  • 141
  • 11
2
votes
1 answer

How can I create .po file using Poedit in Ubuntu?

How can I create .po file using Poedit in Ubuntu? It only opens catalog. But, I want to generate .po file of my php file. Any ideas?
Rahul
  • 67
  • 8