<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://pkp.sfu.ca/bugzilla/bugzilla.dtd">

<bugzilla version="4.2.5+"
          urlbase="http://pkp.sfu.ca/bugzilla/"
          
          maintainer="pkp-hosted@sfu.ca"
>

    <bug>
          <bug_id>6519</bug_id>
          
          <creation_ts>2011-03-18 01:32:00 -0700</creation_ts>
          <short_desc>When upgrading from installation with wrong language code of Swedish to correct language code, how to update?</short_desc>
          <delta_ts>2011-03-18 08:50:51 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>OJS</product>
          <component>Localization</component>
          <version>2.3.4</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Maria">maria.hedberg</reporter>
          <assigned_to name="PKP Support">pkp-support</assigned_to>
          <cc>alec</cc>
          
          

      

      

      

          <long_desc isprivate="0">
            <commentid>23253</commentid>
            <who name="Maria">maria.hedberg</who>
            <bug_when>2011-03-18 01:32:03 -0700</bug_when>
            <thetext>I have upgraded a copy of our installation, to eventually upgrade the public one.

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

Related to bug 4802.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>23254</commentid>
            <who name="Alec Smecher">alec</who>
            <bug_when>2011-03-18 08:50:51 -0700</bug_when>
            <thetext>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 &apos;sv_SV&apos;, and replacing it with &apos;sv_SE&apos;. Then reload the database from the dump file.

I&apos;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.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>