Can you tell me how can i edit a .mo file in a Mac? how can i decompile the .mo file?
You can translate a template file only if the original author have included support for internationalization. If you find a .po file in the theme’s folder you can use it. If there isn’t such a file then you are forced to manually change the template files.
Can you tell me how can i edit a .mo file in a Mac? how can i decompile the .mo file?
You must not touch them. The .mo (Machine Object) files are the “compiled” form of .po (Portable Object) files so you must not edit them but instead you must retrieve the source .po, translate it and create a .mo. On my UNIX-like machines (Mac and Debian) I use http://www.poedit.net/ which is a decent gettext editor.
Keep in mind that sometimes you will find a .pot (Portable Object Template) file instead of a .po. A .pot is a blank translation table in which no strings are translated but usually a translator take the english file and use it.
Can you tell me how can i edit a .mo file in a Mac? how can i decompile the .mo file?
You can translate a template file only if the original author have included support for internationalization. If you find a .po file in the theme’s folder you can use it. If there isn’t such a file then you are forced to manually change the template files.
Can you tell me how can i edit a .mo file in a Mac? how can i decompile the .mo file?
You must not touch them. The .mo (Machine Object) files are the “compiled” form of .po (Portable Object) files so you must not edit them but instead you must retrieve the source .po, translate it and create a .mo. On my UNIX-like machines (Mac and Debian) I use http://www.poedit.net/ which is a decent gettext editor.
Keep in mind that sometimes you will find a .pot (Portable Object Template) file instead of a .po. A .pot is a blank translation table in which no strings are translated but usually a translator take the english file and use it.