Skip to main content
Topic: Updates for German translation (Read 4614 times) previous topic - next topic - Topic derived from Transifex: uploaded f...
0 Members and 1 Guest are viewing this topic.

Re: Updates for German translation

Reply #15
link was added slightly after RC2 I guess (29th of July), the other two were string missing found during RC2 testing and added after its release.
https://github.com/elkarte/Elkarte/blob/master/themes/default/languages/english/index.english.php#L393
https://github.com/elkarte/Elkarte/blob/master/themes/default/languages/english/Errors.english.php#L66
https://github.com/elkarte/Elkarte/blob/master/themes/default/languages/english/Errors.english.php#L187

Added them in my local files. Thanks!  :)

Re: Updates for German translation

Reply #16
In index.language.php search for (german example - only if your language files are from RC1 or RC2):

Code: [Select]
$txt['days'] = array('Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag');
$txt['days_short'] = array('So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa');
// Months must start with 1 => 'January'. (or translated, of course.)
$txt['months'] = array(1 => 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember');
$txt['months_titles'] = array(1 => 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember');
$txt['months_short'] = array(1 => 'Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez');

Replace with (german example):

Code: [Select]
$txt['sunday'] = 'Sonntag';
$txt['monday'] = 'Montag';
$txt['tuesday'] = 'Dienstag';
$txt['wednesday'] = 'Mittwoch';
$txt['thursday'] = 'Donnerstag';
$txt['friday'] = 'Freitag';
$txt['saturday'] = 'Samstag';

$txt['sunday_short'] = 'So';
$txt['monday_short'] = 'Mo';
$txt['tuesday_short'] = 'Di';
$txt['wednesday_short'] = 'Mi';
$txt['thursday_short'] = 'Do';
$txt['friday_short'] = 'Fr';
$txt['saturday_short'] = 'Sa';

$txt['january'] = 'Januar';
$txt['february'] = 'Februar';
$txt['march'] = 'März';
$txt['april'] = 'April';
$txt['may'] = 'Mai';
$txt['june'] = 'Juni';
$txt['july'] = 'Juli';
$txt['august'] = 'August';
$txt['september'] = 'September';
$txt['october'] = 'Oktober';
$txt['november'] = 'November';
$txt['december'] = 'Dezember';

$txt['january_titles'] = 'Januar';
$txt['february_titles'] = 'Februar';
$txt['march_titles'] = 'März';
$txt['april_titles'] = 'April';
$txt['may_titles'] = 'Mai';
$txt['june_titles'] = 'Juni';
$txt['july_titles'] = 'Juli';
$txt['august_titles'] = 'August';
$txt['september_titles'] = 'September';
$txt['october_titles'] = 'Oktober';
$txt['november_titles'] = 'November';
$txt['december_titles'] = 'Dezember';

$txt['january_short'] = 'Jan';
$txt['february_short'] = 'Feb';
$txt['march_short'] = 'Mär';
$txt['april_short'] = 'Apr';
$txt['may_short'] = 'Mai';
$txt['june_short'] = 'Jun';
$txt['july_short'] = 'Jul';
$txt['august_short'] = 'Aug';
$txt['september_short'] = 'Sep';
$txt['october_short'] = 'Okt';
$txt['november_short'] = 'Nov';
$txt['december_short'] = 'Dez';

Re: Updates for German translation

Reply #17
I can't find an index.language.php in my files. Where is this page?

Um, is this correct? The months names without "r" at their ends?:
Code: [Select]
$txt['january_titles'] = 'Janua';
$txt['february_titles'] = 'Februa';

Re: Updates for German translation

Reply #18
I can't find an index.language.php in my files. Where is this page?

What I meant is index.german.php, index.suaheli.php, index.italian.php, index.spanish.php and so on...

Um, is this correct? The months names without "r" at their ends?:
Code: [Select]
$txt['january_titles'] = 'Janua';
$txt['february_titles'] = 'Februa';

Of course not. Thanks, my mistake.  :-[

Re: Updates for German translation

Reply #19
Another question. ;)
The "ä" in the month name März, can this stay like this or shouldn't it be changed for utf-8 in ä ?

Re: Updates for German translation

Reply #20
Your editor will do this for you if you have set the document format to UTF-8. ;)

Re: Updates for German translation

Reply #21
Aha, okay. I didn't know that the editor can do this. :)

Re: Updates for German translation

Reply #22
ä
hmm... interesting effect here...
I would be curious to know what exactly you posted here to obtain that strange symbol. But I guess it's difficult to explain since you can't actually post it without elk mangling it up... :-\
Bugs creator.
Features destroyer.
Template killer.

Re: Updates for German translation

Reply #23
This happens when you type the ä, ö, ü and ß in Notepad++ with UTF-8 format. Then convert the format in Notepad++ to ANSI.

Re: Updates for German translation

Reply #24
For posting the ä in the text here I just did a simple  copy & paste  from a code page.
From a part like this:

Code: [Select]
// Sub menu labels
$txt['view_unread_category'] = 'Neue Beiträge';
$txt['view_replies_category'] = 'Neue Antworten';

Re: Updates for German translation

Reply #25
If this is how you see it in your editor you have to set it to the correct format UTF-8, Lars.

Re: Updates for German translation

Reply #26
Here's the package with 100% translated german files for ElkArte 1.0.0 and 1.0.1. Plus a second package with 100% for ElkArte 1.0.2. Both are informal packages. Can anyone please update Transifex for me?

Re: Updates for German translation

Reply #27
Great.. I'll update transifex soon..
Thorsten "TE" Eurich
------------------------

Re: Updates for German translation

Reply #28
Great! :D
Bugs creator.
Features destroyer.
Template killer.