Page 1 of 1

Fetching email for each language ?

Posted: Sat Sep 16, 2017 4:20 am
by raykai
i have two languages for my hesk. i have English by default and French as my other language.

i think there is missing a way to setup a mail Fetching by language.

Each language should have a different Fetching email (POP3,IMAP) so that hesk may send the right language in its auto email when a user creates a ticket using email.

As for now anyone that sends an email to the only fetching email address gets responded by hesk in English ... this is not good for my french users.

or is there a setting that i have missed somewhere? is there a workaround for this?

My user base is almost 50% English and 50% French.

Re: Fetching email for each language ?

Posted: Sat Sep 16, 2017 6:29 pm
by Klemen
Yes, there is no built-in way to do it right now.

What you can do is setup the default language in setting, then create a copy of your hesk_pop3.php file and modify the settings for the second language inside by changing these lines:

Code: Select all

/*
$hesk_settings['pop3_host_name'] = 'mail.server.com';
$hesk_settings['pop3_host_port'] = 110;
$hesk_settings['pop3_tls']       = 0;
$hesk_settings['pop3_user']      = 'user@server.com';
$hesk_settings['pop3_password']  = 'password';
*/
Remove starting /* and ending */ and modify other values for the second language account.

In the same file, just ABOVE

Code: Select all

require(HESK_PATH . 'inc/common.inc.php');
add this code to set the correct language:

If the copy is for English:

Code: Select all

$hesk_settings['language']='English';
If the copy is for French:

Code: Select all

$hesk_settings['language']='Francais';

Re: Fetching email for each language ?

Posted: Sat Sep 16, 2017 6:36 pm
by raykai
nice il be trying this. Will this option be considered for a next release seeing how this would be useful being in the admin panel?

Re: Fetching email for each language ?

Posted: Sat Sep 16, 2017 7:34 pm
by Klemen
It will, but most likely in a slightly different (more flexible) way than it is configured now. Can't give any timeframes though.

Re: Fetching email for each language ?

Posted: Sun Aug 05, 2018 4:05 am
by raykai
im going to need to run 2 hesk installs as it was auto-replying to emails all in English.

im really hoping to see this in hesk at some point in settings.
having a filter metatag in Fields in ticket list saying the language of the ticket would be a big plus.