We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 6519

Summary: When upgrading from installation with wrong language code of Swedish to correct language code, how to update?
Product: OJS Reporter: Maria <maria.hedberg>
Component: LocalizationAssignee: PKP Support <pkp-support>
Severity: normal CC: alec
Priority: P3    
Version: 2.3.4   
Hardware: PC   
OS: Linux   
Version Reported In: Also Affects:

Description Maria 2011-03-18 01:32:03 PDT
I have upgraded a copy of our installation, to eventually upgrade the public one.

The database is full of "sv_SV", but the new code is "sv_SE". Are there any tips on how to update this, so that it becomes correct in the updated version?

Related to bug 4802.
Comment 1 Alec Smecher 2011-03-18 08:50:51 PDT
Hi Maria,

The best way to do this is probably to generate a database dump using mysqldump, then perform a search and replace, looking for 'sv_SV', and replacing it with 'sv_SE'. Then reload the database from the dump file.

I'd suggest doing this on a test copy of your installation before you run it on the production DB.

Since this is an administration question, not a bug, the best place to post it is on the support forum at http://pkp.sfu.ca/support/forum rather than here.