fransjaeger Posted January 17, 2015 Share Posted January 17, 2015 (edited) example i have $this->l('Discount for your cancelled cart') How could i make sure its translated to $id_langI have seen this Mail::l('Discount for your cancelled cart', $id_lang) but would it work everywhere, or is there another more clean method I should use? Im thinking maybe its possible to do something like: $old_id_lang=get_curret_id_lang(); set_id_lang($id_lang); $a=$this->l('Discount for your cancelled cart'); set_id_lang($old_id_lang); echo $a; By the way i need this because i found out that module "followup" doesnt translate correctly a in some lines. Thanks Edited January 17, 2015 by michaelhjulskov (see edit history) Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now