[Resolved] language switcher, pages and search translation
So far, i’m really enjoying Bogo and it seems alot more straightforward and simple compared to other options out there.
Being somewhat of a wordpress noob, I have some questions and could use some clarification on a few things. This might not be the best channel to post in, but it seemed relatively active. :p
here’s my current site, for which I’ve got the bogo widget installed for the language switching.
1. Instead of clicking on the switcher link, is there a way to automatically switch to domofactor.com/ja based on the client’s locale? My initial thought was that this would be to be set via some apache tweaking.
EDIT: Looks like I just needed a mod_rewrite with a rewrite condition of the accept-language header! ^_^
2. when you search for something on my site that doesn’t exist i’m still getting the default english for some reason. I’ve verified that I do infact have the japanese translation files there for my theme, as well as the ja.mo file I pulled from the wordpress repo here.
<user>@<server>:/var/www/domofactor.com/wp-content/themes/zbench/lang# ls | grep ja ja_JP.mo ja_JP.po <user>@<server>:/var/www/domofactor.com/wp-content/languages# ls ja.mo
3. Its possible that this is a bug, but when trying to do the same thing as posts, with pages, I noticed that all 4 pages show up regardless of which language I switch to. Also, when displaying a list of pages, japanese shows up as a listed locale, but for the default english pages, its just blank.
- The topic ‘[Resolved] language switcher, pages and search translation’ is closed to new replies.