export and import phrases  

  RSS

theplacetobe
(@theplacetobe)
Active Member
Joined: 3 years ago
Posts: 16
04/03/2019 3:43 pm  

I have customized the phrases used by WPDiscuz for notification emails.

Now I would like to use my phrases on all the sites I have on my multisite install?

How can I do that. Do you have an export/import function, or can I do it "manually" by digging in the database with PHPMyAdmin?

Thanks for feedback, I hope a solution exists, it would save me a lot of time.


Quote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 2666
04/03/2019 5:28 pm  

Hi @theplacetobe,

I'm sorry, but wpDiscuz allows export/import all option, but not phrases yet. We've already added it in our to-do list. We'll add it in next version releases. 


ReplyQuote
theplacetobe
(@theplacetobe)
Active Member
Joined: 3 years ago
Posts: 16
04/03/2019 6:05 pm  

OK fine, any short term solution by digging in the database?

If you tell me where the data is, I can get it done on my own.

I have almost 100 sites to update, so I don't want to edit them 1 by 1...

It looks like all the phrases are in the table wp_N_wc_phrases, where N is the site id of the site in the multisite install.

So export this table and import it in another site would do the trick?

This post was modified 4 months ago by theplacetobe

ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 2666
04/03/2019 6:41 pm  

yes @theplacetobe you need to export DB _wc_phrases table and import to new websites DB.

I'm leaving articles that should be useful below.

How to backup or export a database or table: https://help.dreamhost.com/hc/en-us/articles/214395738-phpMyAdmin-How-to-backup-or-export-a-database-or-table

How to import and export a MySQL database: https://mediatemple.net/community/products/dv/204403864/export-and-import-mysql-databases


ReplyQuote
itlr
 itlr
(@itlr)
Active Member
Joined: 3 months ago
Posts: 13
18/04/2019 6:23 am  

Do you have an ETA for phrase export/import to become available?


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 2666
18/04/2019 5:47 pm  

Hi @itlr,

I'm sorry, but I don't have any ETA yet. We do all our best to update the plugin asap. 


ReplyQuote
Share: