Questions tagged [mo]

*.mo binary files are used by Osclass and compiled from the *.po files

This is a binary file (machine readable). This is the actual file used by Osclass and is compiled from the .po file.

64 questions
35
votes
4 answers

How can I create an .mo file for Wordpress

I have some .po files for Wordpress and i want to create .mo files. How can i do this?
Peter
  • 683
  • 2
  • 9
  • 13
11
votes
2 answers

How can I check .mo file validity?

I'm using PHP to make .mo files out of the database and have run into a strange problem: some keys work, some don't. I think there is some kind of a problem with the generated files. How can I check, whether a .mo file is correct?
Fluffy
  • 27,504
  • 41
  • 151
  • 234
6
votes
3 answers

How to use po/pot files with php?

I have a .po and a .mo file in a folder whose address is /locale/nld_nld/LC_MESSAGES/. Both the files' names are messages. I've been trying to use the following code: try.php: the…
Rajat Sharma
  • 61
  • 1
  • 2
5
votes
2 answers

How to convert .po to .mo files on mac?

I have tried using poedit 1.4.6>save as, but .mo is not an option.
Himmators
  • 14,278
  • 36
  • 132
  • 223
5
votes
1 answer

Can someone break down how localization file ( .mo, .po ) generation works?

I'm trying to grok gettext. Here's how I think it works - First you use some sort of po editor and tell it to scan a directory for your application, create these ".po" files, the application makes a po file for each file scanned which contains a…
meder omuraliev
  • 183,342
  • 71
  • 393
  • 434
4
votes
1 answer

Benefits of compiling po files to mo

What's the benefit and primary reason for compiling GNU gettext .po (Portable Object) files to .mo (Machine Object) ? I saw many programs reading/parsing .po directly. I'm not using wordpress but on their docs it…
Konrad
  • 6,385
  • 12
  • 53
  • 96
4
votes
2 answers

Django localization: labels don't get updated

I'm going crazy guys, my labels are not updated in my views after running "makemessages" and "compilemessages"! This is what I tried so far: make sure there is no "fuzzy" strings around in PO files delete MO files relaunch makemessages and…
daveoncode
  • 18,900
  • 15
  • 104
  • 159
4
votes
1 answer

How to deal with multiple text-domain?

I am talking about Wordpress localization/internationalization. I have a two templates done by third party. And they made them child templates of twentyten. Seemingly they kept the template files with internationalized strings with the text-domain…
Lenin
  • 570
  • 16
  • 36
3
votes
1 answer

Boost locale "Conversion failed" for gettext

When I'm running this example code from boost #include #include using namespace std; using namespace boost::locale; int main() { generator gen; // Specify location of dictionaries …
Gelldur
  • 11,187
  • 7
  • 57
  • 68
3
votes
3 answers

how to handle gitting of binaries, e.g. .mo files

Is there a simple way to handle binary files in git operations? I think my ideal in this case - 'merging' of .mo files (binary .po messages) - would be to give precedence to the newer file, copying it over the top of the older one. So can I…
Leo
  • 6,553
  • 2
  • 29
  • 48
3
votes
1 answer

Where I must put .po/.mo wordpress languages file?

I download a wordpress theme that have a language folder with .po and .mo files, I translate these files with POEdit and replace with originals. but any words in theme didn't translate. I think I must put files in another place, In theme help I…
Ehsan
  • 2,273
  • 8
  • 36
  • 70
2
votes
0 answers

How to open a MO gnu gettext file?

I am reviewing how to address multi-language support for documentation and messaging with a library. I found that the MASS package uses such support, and I wanted to review the how and why. For example, the ITALIAN pot/po file is compressed or…
mshaffer
  • 959
  • 1
  • 9
  • 19
2
votes
0 answers

Problems with translating text including hyperlink in WordPress theme using mo file

Is this WordPress theme internationalization with hyperlink in it done right? I've spent whole day looking for fix to this but translation is not showing up on page. Only original English version of this. MO file is generated with Loco Translate…
2
votes
1 answer

CUDA kernel failed : no kernel image is available for execution on the device, Error when running PyTorch model inside Google Compute VM

I have a docker image of a PyTorch model that returns this error when run inside a google compute engine VM running on debian/Tesla P4 GPU/google deep learning image: CUDA kernel failed : no kernel image is available for execution on the…
user3882675
  • 51
  • 1
  • 1
  • 8
2
votes
1 answer

i18N Wordpress using mo files not accepting context

I am getting a bit confused with loading my themes .MO file. I have did a lot of searching on google and I got a version working but I don't understand why. First of all, I have set my text domain in the themes CSS file: Text Domain: …
Mattijs
  • 3,265
  • 3
  • 38
  • 35
1
2 3 4 5