Should multi-language site using multi-site architecture have default language in base site?
I am setting up a multi-language site using wordpress multi-site and wanted some feedback on the best approach/best practice.
I am setting up a multi-language site using wordpress multi-site and wanted some feedback on the best approach/best practice.
Context: I have created a plugin that is enabled only at the network level and it handles certain synchronizations between the child sites. As it is a network level plugin, it has its menu added to the network dashboard instead of the admin dashboards of child sites.
The functions WordPress uses to generate slugs are scattered in several functions and filters. I cannot find them all. Can anybody provide me a single php function to generate slugs? I do not need all the functionalities of WordPress, just need to encode non-latin characters and remove illegal characters that are not allowed in url.
I have a site with polylang installed with 3 languages. LV as default, EN and RU. For the PLURAR(polylang does not support it) strings translation I want to use poedit locally and then copy the translated mo/po files to the child theme /language folder. I tried to translate two string, copied the created mo/po files to the server, but the at the sites frontend transaltion is not shown. I have read multiple manuals and everything should be working, but nothing really happens.
For a single site wordpress, the language must be set from wp-config.php
‘s WPLANG
, but is it possible to set from my plugin which override the default value?
A client asked for a blog that will have localized content (i.e. en.blogname.com for English content, fr.blogname.com for French content, etc). Being new to building such a blog, we recently discovered WPML and qTranslate, which look perfect for our needs.
I would like to write my own little plugin for language switching. For that, the very first thing would be to get the rewrite rules running. I have been looking around the web for 2 hours, but I couldn’t find an answer to my question yet.
I’m trying to make a small plugin to install in some sites of a german client.
I was wandering… All the translation functions (__(), _e(), _x()
and so on) use the current/active language. Is there a way to get a translation from another language than the current one? For example, I’m on a French page and I want and english translation: how to?
Is there any way to evaluate the language a post/page is written in? I am building a multilingual site and am almost pulling my hair out trying to get the front-end navigation to take the chosen language into account. So far the polylang plugin http://wordpress.org/extend/plugins/polylang/ has worked fine for everything else.