Tag Info

New answers tagged

0

Till now, I think that Fulvio's answer's the best one. I'm using that filter even on a multisite setup, with just one line: add_filter('locale', 'set_admin_locale'); function set_admin_locale($locale) { return 'en_US'; } Basically sometimes, and in this case, I use multisite for multi-language sites instead of plugins. Also, I have 1 single theme for ...


0

There are two types of translations in the WordPress website: Label Translation in WordPress Core and Theme, for that gettext technique is useful (as mentioned by you .po and .mo files) Content Translations for that you will need to add multi-lingual plugin to handle such feature. Good Example of such plugin are: http://wordpress.org/plugins/qtranslate/ ...


2

There are already an en_US.po file in the theme you are using. You can simply make a copy of that file and rename it as pl_PL.po. You can now open the pl_PL.po template with poedit, do all your translations in there, and just save it. Poedit will automatically create a pl_PL.mo template. No need to go through all the pt. Just remember, as previously ...


3

Hi to translate your website you can do the following: Define your language in wp-config.php : define('WPLANG', 'pl_PL'); Then generate a po file for your theme with e.g this service: iCanLocalize Scanner Then your po and mo files should be named pl_PL.po and pl_PL.mo and put into a folder called languages or lang or something like this in your theme. if ...


0

I recently answered a very similar question. Instead of having 2 separate websites, it's far easier to install a translation plugin. The plugin will basically add extra fields or tabs in edit mode. For example, if you are editing a page titled "Home", you will have a field for the English page title and then a field for the Spanish page title. The same ...


1

It would be far easier to maintain the blog by using a good WordPress translation plugin. WPML (http://wpml.org) is my favourite plugin for the task. If you prefer not to pay anything QTranslate is also a good option. Both plugins allow you to have sub domains (en.mysite.de) or language folders (mysite.de/en). Best of luck!



Top 50 recent answers are included