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
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 to compile a MO hash table?

I've been playing around with Gettext MO file hash tables in PHP. Although I'm unsure how important this optional table is, I'd like to ensure I'm implementing the full spec if possible when generating MO files. I compiled a simple PO file with…
Tim
  • 8,036
  • 2
  • 36
  • 52
1
vote
2 answers

how do I generate po file from php array?

I've a php language file, that lists values in an array. I want to transform this into .po file. php file looks like this: "Start Search", "_search2" =>…
user796443
1
vote
1 answer

How do you enable auto correct for an HTML textbox in IE9 mobile?

I have an input textbox on a web form that is being viewed on IE9 mobile, and I'm unable to figure out how to enable auto correct. It would appear that the attribute autocorrect=on is the trick for webkit browsers, but if there is an…
mdryden
  • 965
  • 1
  • 9
  • 12
1
vote
2 answers

A .po Generator written in PHP

Is there such a thing out there? A script that's able to create a .po file from .php files dropped inside a directory/
Erji
  • 11
  • 1
1
vote
1 answer

po mo translation only working for en-GB and en-US and not working with other languages

I have created the translation files using poedit and generated the mo files and kept them in their respective folders. But somehow I can only access the translations which are in en_GB and en_US folders. even I place DE translation in these folders…
Developer
  • 25,073
  • 20
  • 81
  • 128
1
vote
1 answer

Is there a command to generate all .mo files from multiple .po files?

I have multiple .po files in a standard directory structure of GNU gettext: locales/ ├── en_US │   └── LC_MESSAGES │   └── myapp.po └── zh_TW └── LC_MESSAGES └── myapp.po I knew that I could write a script that uses msgfmt to…
johnlinp
  • 853
  • 6
  • 22
1
vote
1 answer

Method to transfer weights between nested keras models

I'm trying to successively build up mixture models, iteratively adding sub-models. I start by building and training a simple model. I then build a slightly more complex model that contains all of the original model but has more layers. I want to…
generic_user
  • 3,430
  • 3
  • 32
  • 56
1
vote
1 answer

Flask-Babel | Reloading .mo files when Flask app running | Production

there is small problem with Flask web application. Right now I'm creating backend for one website and one of the task is to create translation panel in Flask-Admin. Website are using Flask-Babel for multi language support. Long story short, I made…
sh_mykola
  • 51
  • 1
  • 4
1
vote
2 answers

Django IntegrityError When Submitting Form (pre-populating in views)

I haven't be able to find a solid answer for my problems. I am trying to pre-populate form in views. So when user works with form, some data is already been taken care for. What am I trying to do is to automatically get user username and his group…
1
vote
1 answer

Wordpress languages update

I need to disable automatic language update in Wordpress. After a search on Google I've added these 2 lines in my wp-config.php: define( 'AUTOMATIC_UPDATER_DISABLED', true ); define( 'WP_AUTO_UPDATE_CORE', false ); but WordPress continues to update…
chattago2002
  • 45
  • 2
  • 15
1
vote
1 answer

Override a wordpress theme language file using a custom plugin

I am using a wordpress theme that contains several language files. I would like to modify a language file to "white label" the theme I am using. I will also be making other admin-css changes to the theme, therefore, I'd like to create a plugin that…
Sam Skirrow
  • 3,647
  • 15
  • 54
  • 101
1
vote
0 answers

Localize php website using mo files and locale problems

I would like to localize my php website using mo files but I have encountered some problems using gettext. This is the example I've used:
Francesco
  • 149
  • 1
  • 12
1
vote
2 answers

PHP multilingual site with mo

I want to make a site available in three languages, in my knowledge I can use three way to achieve this. With .po and .mo file like wordpress. With php array dumping in html file. With storing a labels in database. The database may be increase with…
Zia
  • 191
  • 12
1
vote
2 answers

PO, MO translation files

I want make a multi-language app I heard about .po files but I can't locate it I made this code I made a directory in my application called languages and I put the ar_EG.po file in it and I tried languages\ar\LC_MESSAGES but it dosen't work too…
Mostafa Maklad
  • 349
  • 2
  • 13