user emails customized by language

Phoca Cart - complex e-commerce extension
erapaglia
Phoca Member
Phoca Member
Posts: 18
Joined: 31 Mar 2022, 18:26

user emails customized by language

Post by erapaglia »

I have 12 languages on the website,

I would like to know how to create in the ORDER STATUSES section, the variables to be linked with the joomla language file

thank you

Ezekiel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: user emails customized by language

Post by Jan »

Hi, there is no such option, but there are possible complex way how to work with multilangues feature.

https://www.phoca.cz/documents/116-phoc ... al-feature

For this, maybe Multilanguage CK plugin will be great but 12 languages is too much I think. :idea:

So maybe the Falang needs to be select but not sure if for now the XML definition files for Order statuses exist :idea:

Jan
If you find Phoca extensions useful, please support the project
erapaglia
Phoca Member
Phoca Member
Posts: 18
Joined: 31 Mar 2022, 18:26

Re: user emails customized by language

Post by erapaglia »

the Multilanguage CK plugin have a conflict with joomla 4 :-(, si i duplicate manualy the entries in ORDER STATUSES in different languages. i have no other chances
erapaglia
Phoca Member
Phoca Member
Posts: 18
Joined: 31 Mar 2022, 18:26

Re: user emails customized by language

Post by erapaglia »

hallo jan, please explain me how to personalize 2 only language emails(example german and italian), after paypal payment
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: user emails customized by language

Post by Jan »

Hi, for two languages, try to see the Multilanguage CK module:

https://www.phoca.cz/documents/116-phoc ... al-feature

There you set each language in specific plugin code, so all text is set in one field but separated by the plugin code.


Jan
If you find Phoca extensions useful, please support the project
erapaglia
Phoca Member
Phoca Member
Posts: 18
Joined: 31 Mar 2022, 18:26

Re: user emails customized by language

Post by erapaglia »

hello jan, ck multilanguage original it does not works (in subject and email content).

with extended version(error): Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()

i think it is not compatible with joomla 4

any ideas, how to translate email subject and email content?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: user emails customized by language

Post by Jan »

Hi, can you paste the whole error message here, so I can take a look at it?

Jan
If you find Phoca extensions useful, please support the project
erapaglia
Phoca Member
Phoca Member
Posts: 18
Joined: 31 Mar 2022, 18:26

Re: user emails customized by language

Post by erapaglia »

here, i have installed the plugin and this is the error on administrator site:

0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: user emails customized by language

Post by Jan »

Hi, thank you for the info, yes, this function is not more available in J4. I will take a look at it and will change it.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: user emails customized by language

Post by Jan »

Hi, you can download the Joomla 4 version here:
https://www.phoca.cz/download/category/ ... -component

Jan
If you find Phoca extensions useful, please support the project
Post Reply