klox7 VIP
Total posts: 914
09 Июнь 2015 08:47

Hello,

because I have to use my language for invoices for companies in my country I'm asking if it's possible to have multiple languages for invoice and bill?

Regards

Последние изменения: 11 Июнь 2015


Sergey
Total posts: 13,748
10 Июнь 2015 11:05

If you have emerald translated, it will show invoice acording to current Joomla language.

Is that wat you ask about?


klox7 VIP
Total posts: 914
10 Июнь 2015 11:59

Acctually I have site only in one language at the moment (en) so everything is in English. I'm asking if I can somehow use different language only for invoice if customer selects specific country. I know this is speific but if you know workaround it will be nice :)


Sergey
Total posts: 13,748
11 Июнь 2015 04:54

I can think ony this. Create override of /views/eminvoice/tmpl/default.php and there you can get name of the country by call of $this->invoice->fields->get('country_id'). This will return 2 chars code. And then you can use that language.


klox7 VIP
Total posts: 914
11 Июнь 2015 07:44

Great thanks, will try it.

Работает на Cobalt