Migrate translation from old site to the new one
-
Hi everyone,
I am facing the following problem:
I have a current site on which I use the TranslatePress plugin to translate content.
Since this site is quite old, I decided to make something more beautiful, more attractive, etc. from scratch.
On the current site, I use WP Backery as a builder. On the new site I use Elementor.
I am interested in migrating all the translations that I have already done in the current site to the new site.
The steps I took:- I installed the TranslatePress – Business and TranslatePress – Multilingual plugins on the new website
- I made the settings IDENTICAL to those on the current website
- I translated a few pages to make sure everything is ok
- I accessed the database of the current site and from there I exported the table
wp_trp_dictionary_ro_ro_en_us - on the new site in the database I imported this table (wp_trp_dictionary_ro_ro_en_us).
- on the new site, the table corresponding to the one on the current site is 74_trp_dictionary_ro_ro_en_us
- I ran the following script in phpmyadmin on the new site:
UPDATE
74_trp_dictionary_ro_ro_en_us
AS newJOIN wp_trp_dictionary_ro_ro_en_us AS old ON new.original = old.original
SET new.translated = old.translated;
- in the table 74_trp_dictionary_ro_ro_en_us the same values are now found as in the one in the current site (I mean the two columns original and translated)
From here everything gets weird
On the new site, selecting the EN language in the frontend, everything appears untranslated.
If I try to translate something, the TranslatePress interface loads, but when selecting a string, it appears with the translation already completed. Even if I click “Save” and exit the translation mode, all the text remains untranslated on the frontend.
I later tried to fill in something on the translated column in the DB, but it still doesn’t update on the site.
And here I come and ask for your help.
Am I doing something wrong? Isn’t there a simpler procedure to export and import translations?
- The topic ‘Migrate translation from old site to the new one’ is closed to new replies.