adding languages only for the admin ui

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
raykai
Posts: 20
Joined: Fri Jun 23, 2017 8:07 pm

adding languages only for the admin ui

Post by raykai »

Hi,

im looking for a way to have 2 languages only for the admin UI, not the user side tho.

seeing as im better in English then French i need my French hesk to have the admin ui in English but have the user side ui in French.

any way i could get this working?
Klemen
Site Admin
Posts: 10143
Joined: Fri Feb 11, 2005 4:04 pm

Re: adding languages only for the admin ui

Post by Klemen »

The easiest way to do that would be to have French as the default language then manually disable selecting a language in files customers use (index.php, knowldgebase.php, reply_ticket.php, submit_ticket.php, ticket.php) by finding

Code: Select all

require(HESK_PATH . 'hesk_settings.inc.php');
and adding this just below

Code: Select all

$hesk_settings['can_sel_lang']=0;
Didn't test this though; for more complete customization you would probably need to hire a developer for help.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply