-
-
August 12, 2020 at 5:16 am #6192CAuriconParticipant
Dear fellow devs!
I’m using osTicketAwesome in Hungarian and some texts remain in English on the landing page:
My system parameters are below:
osTicket v1.14.2 // osTicket-1.14.2-Awesome-103
PHP 7.4.8 // MySQL 10.1.45 // Apache web serverCould you help, please?
-
August 12, 2020 at 1:45 pm #6193stevlandKeymaster
Oh, that really weird. It works on this end:
https://osticketawesome.com/a/1.14.2-3/?lang=hu
Have you tried clearing your browser cache?
-
August 13, 2020 at 9:58 am #6196stevlandKeymaster
Are you using the Hungarian language pack that came with osTicket Awesome?
One easy way to fix this would be to open /index.php replace line 76…
<?php echo __('We provide archives and history of all your current and past support requests complete with responses.');?>
…with your own Translated text.
But I would be curious to take a look at your installation and figure out what the actual issue is, if you would be comfortable providing me with temporary access.
If so, please fill out this form with as much information as possible. (I won’t need an osTicket Administrator account for this, but I will need at least one connection method: cPanel/Plesk, FTP or SSH).
-
August 17, 2020 at 9:13 pm #6216stevlandKeymaster
Wow. I honestly don’t know what the problem was. All of your files are intact. I couldn’t find any reason that those translations shouldn’t work.
There are two very small possibilities that come to mind.
I wonder if you are running any caching software on your server, in order to speed things up? Sometimes caching software can conflict with osTicket’s translation functions.
I also notice that you are running PHP 7.4. You should consider downgrading to 7.3 as osTicket does not yet support 7.4 and running it can cause weird things to happen.
In the end I had to give up trying to understand this issue and I simply hard-coded the translations into the /index.php file for you.
In the future after you upgrade if those translations stop working again copy /support-old/index.php to /support and you’ll be good-to-go.
-
January 31, 2021 at 10:35 pm #7365JjotekParticipant
Hello,
I have a similar problem with the german translation.
The texts are not translated, similar to the hungarian version. I tried to add a custom translation and added this line to
include\i18n\de\LC_MESSAGES\messages.mo.php
‘Create New Ticket2’ => ‘Neues Ticket eröffnen’,
But its not recognized as a new translation (as you can see in the screenshot). I downgraded to php 7.3 as you recommended, but its the same result.
Can you help me?
Thank you very much!
I can provide you SFTP access
-
February 1, 2021 at 1:11 am #7366SShimoParticipant
Hey jotek,
I dont understand, why you edited the source (Create New Ticket2), don’t do that. Change that back to “Create New Ticket”
You can fix this very easy by yourself – you were already on the right track (/include/i18n/de/LC_MESSAGES/messages.mo.php):
- Should be line 1739 = ‘Open a New Ticket’ => ‘deine Übersetzung hier’,
- Should be line 154 = ‘Please provide as much detail as possible so we can best assist you. To update a previously submitted ticket, please login.’ =>’deine andere Übersetzung hier‘,
-
You must be logged in to reply to this topic.