stevland, i also would be interessted in a awesome verions for the german osticket version 🙂
After thinking about it some more I am reluctant to use their code for a couple of reasons.
But I am curious what it is that you guys like about the German adaptation ( https://osticket.com.de/) of osTicket.
Is the German translation that they use superior to German language pack that comes with osTicket / osTicket Awesome?
The German adaptation has added a modification for time keeping. Is that important to you?
Are there other things that you like about the German adaptation? Please explain!
Ich persönlich interessiere mich nur für die deutsche Version, wegen den deutschen Texten. Ein Zeitmessung brauche ich nicht.
Es ist ja immer leichter, wenn alles in Landessprache erscheint, auch für unsere Kunden.
Uns genügt auch die normales osTicket Version mit Sprachpaket. Sobald das Problem mit der Übersetzung: ( https://osticketawesome.com/forums/topic/v1-12-5-awesome-101translation-error-scp-backend/) gelöst ist, ist wieder alles ok. 😉
I just spent 3 hours working on this dirty workaround, so I hope it works well!
Please let me know if any of the translations can be improved.
Add the following code to /osta/user-scripts.js:
$('a[href="tickets.php?queue=1"].Ticket').text('Offen');
$('a[href="tickets.php?queue=2"].truncate').text('Unbeantwortet');
$('a[href="tickets.php?queue=3"].truncate').text('Beantwortet');
$('a[href="tickets.php?queue=4"].truncate').text('Überfällig');
$('a[href="tickets.php?queue=5"].Ticket').text('Meine Tickets');
$('a[href="tickets.php?queue=6"].truncate').text('Mir Zugewiesen');
$('a[href="tickets.php?queue=7"].truncate').text('Teams Zugewiesen');
$('a[href="tickets.php?queue=8"].Ticket').text('Geschlossen');
$('a[href="tickets.php?queue=9"].truncate').text('Heute');
$('a[href="tickets.php?queue=10"].truncate').text('Gestern');
$('a[href="tickets.php?queue=11"].truncate').text('Diese Woche');
$('a[href="tickets.php?queue=12"].truncate').text('Diesen Monat');
$('a[href="tickets.php?queue=13"].truncate').text('Dieses Quartal');
$('a[href="tickets.php?queue=14"].truncate').text('Dieses Jahr');
$('.add-queue a span').text('Persönliche Warteschlange hinzufügen');
$('#sub_nav li:nth-child(4) .add-queue a span').text('Persönliche Suche hinzufügen');
$('.pull-left.flush-left h2 a\[href*="tickets.php?queue=1"\]').each(function() {
var text = $(this).text();
text = text.replace('Open', 'Offen');
$(this).text(text);
})
$('.pull-left.flush-left h2 a\[href*="tickets.php?queue=2"\]').each(function() {
var text = $(this).text();
text = text.replace('Open', 'Unbeantwortet');
$(this).text(text);
})
$('.pull-left.flush-left h2 a').each(function() {
var text = $(this).text();
text = text.replace('Answered', 'Beantwortet');
text = text.replace('Overdue', 'Überfällig'); //4
text = text.replace('My Tickets', 'Meine Tickets');
text = text.replace('Assigned to Me', 'Mir Zugewiesen');
text = text.replace('Assigned to Teams', 'Teams Zugewiesen');
text = text.replace('Closed', 'Geschlossen'); //8
text = text.replace('Today', 'Heute');
text = text.replace('Yesterday', 'Gestern');
text = text.replace('This Week', 'Diese Woche');
text = text.replace('This Month', 'Diesen Monat'); //12
text = text.replace('This Quarter', 'Dieses Quartal');
text = text.replace('This Year', 'Dieses Jahr');
$(this).text(text);
});
$('table.list.queue.tickets th a').each(function() {
var text = $(this).text();
text = text.replace('Last Update', 'Zuletzt aktualisiert');
text = text.replace('Subject', 'Betreff');
text = text.replace('From', 'Von');
text = text.replace('Assigned To', 'Zugewiesen an');
text = text.replace('Due Date', 'Fälligkeitsdatum');
text = text.replace('Department', 'Abteilung');
text = text.replace('Team', 'Team');
text = text.replace('Date Closed', 'Schließungsdatum');
text = text.replace('Closed By', 'Geschlossen Von');
text = text.replace('Status', 'status');
text = text.replace('Create Date', 'Erstellungsdatum');
text = text.replace('User', 'Benutzerin');
text = text.replace('Organization', 'Organisation');
text = text.replace('Source', 'Quelle');
text = text.replace('SLA Plan', 'Planen');
text = text.replace('Priority', '!');
$(this).text(text);
})
Also, because German words are really loooong, it is also a good idea to make the font smaller in the Ticket Queue table headers.
Add the following to /osta/user-styles.css:
table.list.queue.tickets th a {
font-size: 14px;
padding-top: 10px !important;
}
This isn't a perfect solution but hopefully it will work well until Enhancesoft fix the translations in the new osTicket Ticket Queue system.