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
1
vote
1 answer

qTranslate do not detect properly when called from inside a plugin through ajax

I got two problems. Problem 1: I have translated mailchimp's pot file into two languages. The .mo has been tested to be working. But WP fails to show the ajax returns for other languages for the mailchimp form and/or widget for mailchimp list…
Lenin
  • 570
  • 16
  • 36
1
vote
1 answer

po message file build

Is it possible to build a *.po file to *.mo using the terminal? Currently, I have to edit the *.po file in my text editor, save it, load it via Poedit and save it again. I am working on ubuntu.
mreq
  • 6,414
  • 4
  • 37
  • 57
1
vote
3 answers

.mo file in utf-8 encoding dont work with accentuated words in a linux server

I was translating the website and all was working fine but when I put the files in the online server (linux), the translation worked but the accented letters in spanish appear like this � somebody knows how I can fix it?
otavio
  • 11
  • 2
0
votes
2 answers

Wordpress .po file won't recognize french accents

I've written a .po file for my wordpress theme. The charset is unicode as I cannot define it as 'utf-8' or it will not open in Poedit (the program I'm currently using to catalog my strings). Unfortunately, strings containing accents (french strings,…
Prusprus
  • 7,987
  • 9
  • 42
  • 57
0
votes
2 answers

localisation of website using gettext

I have to translate the text in english to germany.For that I have done the folllownig I have used gettext and working on Ubuntu 11.10 os... created a text.php Through Poedit created messages.po and messages.mo(automatically created). Both .po and…
Sam
  • 1,033
  • 3
  • 16
  • 25
0
votes
0 answers

.po and .mo files UnicodeDecodeError: 'ascii' codec can't decode byte 0xf0 in position 7: ordinal not in range(128)

I have a Bot which im trying to make multilingual. Now when i try to run the command for the bot i get UnicodeDecodeError: 'ascii' codec can't decode byte 0xf0 in position 7: ordinal not in range(128) I tried removing the Emoji in the .po file and…
Navis
  • 77
  • 5
0
votes
0 answers

Wordpress plugin languages not recognized by wordpress.org

I'm the developer of the plugin https://wordpress.org/plugins/supplier-and-purchase-order-management-for-woocommerce/ I have a problem with wordpress.org not recognizing all languages of the plugin. It includes several forms of English, Spanish and…
SunnySonic
  • 1,318
  • 11
  • 37
0
votes
0 answers

How to use gettext .po translation files in JavaScript?

I am using the pelican site generator, and inside the theme there I use is a script which loads and displays search results on a HTML page. Some of the strings are hardcoded inside the JavaScript code (the heading text, "There are ${x} results",…
0
votes
1 answer

How to open two modals at the same time in react.js using MUi or tailwindcss

I want to implement the same functionality as the modals we see when we click on share some item on Google docs or Google drive..like the picture below please guide me on how can I implement that and point me out if there is an example on codepen or…
0
votes
1 answer

wordpress plugin translation does not work

i have created a plugin "translation_test" to test the translation capabilities of wordpress. Translation files in the languages directory there is a file translation_test.pot that contains: msgid "Testing" msgstr "" and a file…
pls_help
  • 71
  • 1
  • 2
  • 9
0
votes
0 answers

Mongodb 'ref' does not reference schema

Model.js const mongoose = require('mongoose') const Schema = mongoose.Schema; var uniqueValidator = require('mongoose-unique-validator'); const bcrypt = require('bcrypt') const UserSchema = new Schema({ username: { type: String, …
Dhoni7
  • 15
  • 1
  • 4
0
votes
2 answers

use regexp to search function calls in code

i try to make .mo files from my sources in php by finding "t()" function calls, i know that one better way is using regex functions like preg_match or something, but i'm not the better creating regular expresions, any help? (and sorry for my…
DavidB
  • 3
  • 1
0
votes
2 answers

Wordpress in different languages

I am currently working on a wordpress website in Czech language, I ran into a problem. Most of the website is in Czech. Its running good. I needed a plugin that has users and accounts that they could take care of. I started messing around with…
Pavel
  • 11
  • 1
  • 8
0
votes
1 answer

Some strings stay untranslated in Wordpress plugin

There is a plugin with other languages translations. I used poedit, online po editors and even plugins to update some strings in localization. Here are sources:
0
votes
2 answers

Translate custom button

I need translated line of custom button in a code, but its not working my solution. This is the line in file which I need translate (line 13, name of file: add-to-quote-button.php)
Martin
  • 27
  • 5