Bug #309

Script to update blog languages

Added by Chris Stein over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:08/28/2010
Priority:Normal Due date:
Assignee:Boone Gorges % Done:

0%

Category:WordPress
Target version:1.0.1

Description

We now have a custom language file for WP, but there is a problem in implementing it (see http://redmine.gc.cuny.edu/issues/show/271 for more info on this too). Basically although we have a custom language for WP each blog user has to choose it as their language in order to see it. Manually you would go to Settings->General and then choose the second "English" language (see above issue for explanation on why it has to be two Englishes).

In order to get everyone to use it we need to do two things:
1. In Site Admin->Options change the default language to the second English. This will make sure all new blogs use the new custom language.
2. Write a script to change all existing blogs to the second English.

I don't think we've put in any other translation files so no one should have any other language than English in their blogs but if we do have that situation then the script should probably only change English to the custom English.

Boone, since you'll probably be writing the script I don't know if it helps that while the two options both say English in the dropdown, if you look at the HTML the one we want has "en_CAC" as it's value.


Related issues

blocks Feature #284: Adjust the language for a blog's privacy settings Resolved 07/25/2010

History

Updated by Boone Gorges over 1 year ago

  • Status changed from New to Resolved
  • Target version set to 1.0.1

Also available in: Atom PDF