Hi guys can somebody gimme a info how can I translate email templates ? I know I can translate it directly in admin, but isnt there possiblility to translate some lang file directly ? or what files in which files to backup - I just asking becaouse if I translate it in admin and than I will be in need of reinstallation than I will lost all translations....
thanks in advance
|
I dont know if I expressed my question understandable. I need to know in what files are stored language strings for mail templates. I know I can translate mail templates in administration - but I would rather do it directlly in files ( download files, edit and upload back). When I translating mail templates straight in admin I dont know where those translated files are stored and what is their names because I need backup those files ( or better make translation directly in files - not in admin)- because in cause of reinstallation of dolphin I dont want to translate all mail templates again from scratch... Hope Now u understand and sorry for my english - I know its not perfect... |
administration/email_templates.php
i think it's stored in the db and not a file on your server anyway you should have backups of your site that way you can restore it :) or you can save all the translated e-mail templates and reuse it again
|
really in databse ? hmmm I thought its is stored in some file like other language settings like en.php .... if its directly in database thats not the great news for me.... Yes I can make a txt doc and copy it there and than when I reinstall paste it one by one but I think this solution isnt really best. I thought there should be easier way... hmmmmm... |
how much easier do you want it lol backup your db and it's there and yes it's stored in the db i just took a look sys_email_templates |
sure you can just go translate them in the lang-en.php file. But as soon as you recompile the language it will all be undone.
You can write an SQL.txt file to upload to your site and do all the translations in that file. The advantage of this is that should you have to re-install the site then then you can just re-upload the SQL.txt file and have your translations back.
|
@ mydatery that's one way of doing it but no that won't work he wants something easier than that  |
Prolaznik - Im not that lazy :-) I agree backing up database is fast thing. The problem is that if you have some other things in database - like some members info etc... and if you reinstalling site I might want clean install without any crap in database - so if I restore database I will have email templates translated as they are stored in database but also all othe stuff in database... thats why I more like mydatery idea with sql.txt - its prolly best way. However I dont know how make that file - I mean how make that file - what should I enter in to proper import to database,what order, etc... :-( |
ok i don't think it gets any easier then this instead of backing up all db
why not just backup sys_email_templates all your email template translation is there you can restore it any time :)
|
you mean back up just that table sys_email_templates using my hosting cpanel database tools ? because I think in default database backup in dolphin it backup only whole database at all... is that right ? |
you mean back up just that table sys_email_templates using my hosting cpanel database tools ? because I think in default database backup in dolphin it backup only whole database at all... is that right ?
yes you're correct and that's what i mean use Cpanel soon you'll find out that the dolphin backup system isn't that great :)
|
okay.... sounds good ...thanks second time for your second sucessfull help ....already voted :-) |