Export overriden translations in the admin panel to a file


(Pad Pors) #1

this will be the least important feature needed ever, but if one can easily export the translations added to customize panel, or import strings from a table to this panel; then he can simply share it on github and it would be much easier than transifex for translation of foreign discourses.


(SMHassanAlavi) #2

at first enter database :

rails db
(if not in development enviroment run./launcher enter app before this code)

by runnig this code:

SELECT * FROM translation_overrides INTO OUTFILE '/home/mydata';

all data in translation_overrides table will be exported to a text file in /home/madata folder.

NOTE: you should have permission to write in this folder.