Page 1 of 1

Export Translation Phrases

PostPosted: Wed Oct 24, 2018 9:39 am
by ftartari
Hello everyone,

Vicidial Version: 2.14-683a

I added a new PT-BR language, I imported some phrases files that I found on the internet and everything worked very well!

I translated several phrases that were missing from the Vicidial panel itself and everything worked wonderfully well !!

Now I would like to export all PT-BR phrases to a file, so I can import it into another installation.

How can I export phrases to a file?
Where does Vicidial store the phrases I've added? BD or file?


Thank you very much

Re: Export Translation Phrases

PostPosted: Wed Oct 24, 2018 11:10 am
by blackbird2306
The translated phrases are stored in "vicidial_language_phrases" database table. It is very easy to export these translated phrases to a file.
Export:
Admin --> Languages --> "Export Phrases" link top of screen --> select your language --> SUBMIT --> save export txt file

Import process:
1. Open downloaded txt file in an text editor. Mark full text (CTRL + A) then copy it to clipboard (CTRL + C).
2. Admin --> Languages --> "Import Phrases" link top of screen --> select the language (you need to add this new language just before) --> paste clipboard into "Import Data" field (CTRL + V)

Re: Export Translation Phrases

PostPosted: Wed Oct 24, 2018 1:53 pm
by mflorell
If you have a few minutes after you are done, we would love for you to upload your new translation file to the Issue Tracker :)