Project

General

Profile

Actions

Bug #309

closed

Script to update blog languages

Added by Chris Stein over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
WordPress (misc)
Target version:
Start date:
2010-08-28
Due date:
% Done:

0%

Estimated time:
Deployment actions:

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 CUNY Academic Commons - Feature #284: Adjust the language for a blog's privacy settingsResolvedChris Stein2010-07-25

Actions
Actions #1

Updated by Boone Gorges over 13 years ago

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

Also available in: Atom PDF