New answers tagged

5

These are not any kind of WP's own format but rather just gettext file types which WP implements. Translate Handbook has following definitions in its Glossary: MO files: MO, or Machine Object is a binary data file that contains object data referenced by a program. It is typically used to translate program code, and may be loaded or imported into the ...


2

In my opinion you are focusing on a wrong issue in this case. For instance, if I want to change the Read More message I have to browse all files to see if it is there. This doesn't indicate localization problem. This indicates templating problem. What if you want to change markup of Read More of whatever else? Do you have to do this in multiple ...


-1

There is an easy way to get around this problem. Store all frontend messages as options of your theme. Let's define an option 'messages': add_option('messages',array()); Now we must populate this option. Let's define the defaults: $theme_messages_defaults = array ( 'read-more' => __('Read more','tekko'), 'next-page' => ...



Top 50 recent answers are included