custom-text.php changes to customer interface not working

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
vscheer
Posts: 7
Joined: Thu Aug 15, 2019 6:23 pm

custom-text.php changes to customer interface not working

Post by vscheer »

Script URL:
Version of script: 2.8.2
Hosting company: HostingMatters
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: custom-text.php

Write your message below:
Using article: https://www.hesk.com/knowledgebase/index.php?article=88.
I have added custom-text.php relating to customer interface. Basically changing the word ticket to question. Made changes in Dreamweaver, uploaded to /language/en folder, tested (https://www.pbgv.org/help/language/en/custom-text.php) and PHP is OK. However, interface wording has not changed (https://www.pbgv.org/help/). Below is custom text:

<?php
/*
* ==> HOW TO CUSTOMIZE TEXT
*
* Follow this guide:
* http://www.hesk.com/knowledgebase/?article=88
*
* ==> IMPORTANT: FILE ENCODING
*
* This file *must* be saved in UTF-8 encoding without byte order mark (BOM)
* Test chars: àáâãäåæ
*
* http://www.hesk.com/knowledgebase/?article=87
*
*/

// ADD AND MODIFY TEXT BELOW THIS LINE
// CUSTOMER INTERFACE
$hesklang['your_ticket_been']='Your question has been';
$hesklang['submit_ticket']='Submit a question';
$hesklang['sub_ticket']='Submit question';
$hesklang['reply_submitted_success']='Your reply to this question has been successfully submitted';
$hesklang['view_your_ticket']='View your question';
$hesklang['ticket_submitted']='Question submitted';
$hesklang['ticket_submitted_success']='Your question has been successfully submitted! Question ID';
$hesklang['your_ticket']='Your question';

// DO NOT CHANGE BELOW
if (!defined('IN_SCRIPT')) die('PHP syntax OK!');
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: custom-text.php changes to customer interface not working

Post by Klemen »

You are missing at least one variable (probably more):

Code: Select all

$hesklang['sub_support']='Submit a question';
There are several variations that are the same in English but could differ in other languages.

What I would do is search the text.php file for the word "ticket" and copy/paste each line you find into the custom-text.php to make sure you have everything covered.

Don't forget to modify the email templates too (Admin panel > Tools > Email templates).
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
vscheer
Posts: 7
Joined: Thu Aug 15, 2019 6:23 pm

Re: custom-text.php changes to customer interface not working

Post by vscheer »

Wow...that's a lot of "tickets":) It now works. Thank you, Veronica
Post Reply