• Resolved nointelligentlife

    (@nointelligentlife)


    I have been using a staging site to translate a copy of my live site. Having completed that process, I’ve exported the data from the 5 SQL tables in order to apply it to my live site (I know I will need to fix the urls). But I want to do a dress rehearsal on my staging site first. So I deactivated and deleted TP from my staging site and then applied another backup of the live site which overwrites the database in staging (so no trp tables present and no trp_ values in wp_options). I reinstalled and activated TP but it won’t add a language. Now it does have access to the database and the 5 trp tables are present but it won’t allow me to save any language under Settings -> General (I’ve tried other laguages). What am I missing? I see there are files under the languages folder for the language : .mo, .po and lots of .json. Do I need to delete those too? How do I recover from this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter nointelligentlife

    (@nointelligentlife)

    I managed to fix it. I installed TP on my live site, selected the language and saved it. The 5 TRP tables were created and empty. I then copied the live site over the staging site and was then able to add the data in manually using SQL Scripts. Once I was happy that the staging site was fully bilingual I then installed the data into the Live site DB tables having amended the URLs. Job done.

    But this is something you need to document or fix. A well-behaved plugin once deleted should leave no trace so that if you reinstall you start from scratch. I shouldn’t have run into these problems using the original approach I described.

    BTW, love your product.

    Hello there,

    Thank you for letting us know that you were able to solve the problem.

    Personally, I haven’t heard of a similar problem. Can you tell me what you used to export/import the live site over the staging one?

    I want to see if I’m able to replicate the problem by following the same steps.

    Best regards.

    Since more than 6 days have passed since my colleague answered this ticket, we will close it and if you encounter other problems or have a question regarding TranslatePress, please create another ticket with the problem in question.

    Kind regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Staging Site Can’t add Language’ is closed to new replies.