Skip to main content
Recent Posts
11
Localization / Re: German language files (informal) for 1.1.9
Last post by Ruth -
I want to have this proper done.  :smiley:  But when I started with this, I did not know, that it would be such a lot of work. There had been a lot of not translated strings (but we already did translate them years ago), also a lot typos, incorrect grammar or a mixture of formal and informal german, which looks terrible. The worsest for me was, that english and german strings had often not been on the same lines. This was time consuming, just to sort them for comparing.

I think, i understand you well, Spuds... I believe, that it is hard to deal in the codes with such a lot of strings.

But like you said: for proper grammar with translations sometimes more than one string is needed. At least in this parts on forum, members will see. Wrong grammar does not give a good impression of the forum. Admins and Moderators do also need proper explanations. If the grammar is wrong, it might lead to confusion or misunderstanding.

Maybe some things could be done easier and with less strings. For example: I don't understand, why words like "save" or "edit" on buttons have to be repeated this often in the language files? Could they not share the same strings?

I did about 15 files now, a few are left to do, but I hope they soon will be done now. In almost every very long file I found a lot of strings, which are no more used or are very old and just had been copied since years. The worsest one is the help file. :rolleyes: Some strings there are really pointless. They explain nothing, they just repeat the same with a bit different words, what you read already, before you click on the question mark.

Such strings could be removed in my eyes. Noone would miss them. :tongue: They just take a lot of time to controll them and take also a lot of space in the files.

Another example here in the permission file:

There are 16 strings about almost the same. I first needed to find out, which strings are used, before i could edit them. Then I sorted them in a different order:

The 8 strings on the top are in use, the 8 strings on the bottom are not used, they could be removed.

Code: [Select]
$txt['permissionname_post_draft'] = 'Kann Entwürfe von neuen Beiträgen speichern';
$txt['permissionhelp_post_draft'] = 'Dies ermöglicht den Benutzern, neue Beiträge als Entwürfe zu speichern um diese später fertig zu stellen.';
$txt['permissionname_post_autosave_draft'] = 'Automatisches Speichern von Entwürfen für neue Beiträge';
$txt['permissionhelp_post_autosave_draft'] = 'Dadurch werden während des Schreibens die Inhalte von neuen Beiträgen automatisch als Entwürfe zwischengespeichert. Das verhindert den Datenverlust bei Timeouts oder Verbindungsunterbrechungen zum Server. Die Einstellungen für das automatische Speichern werden im Admin-Center bei den Entwürfen festgelegt.';
$txt['permissionname_pm_draft'] = 'Kann Entwürfe für neue Private Mitteilungen speichern';
$txt['permissionhelp_pm_draft'] = 'Dies ermöglicht den Benutzern, neue Private Mitteilungen als Entwürfe zu speichern um diese später fertig zu stellen.';
$txt['permissionname_pm_autosave_draft'] = 'Automatisches Speichern von Entwürfen für neue PMs';
$txt['permissionhelp_pm_autosave_draft'] = 'Dadurch werden während des Schreibens die Inhalte von neuen Privaten Mitteilungen automatisch als Entwürfe zwischengespeichert. Das verhindert den Datenverlust bei Timeouts oder Verbindungsunterbrechungen zum Server. Die Einstellungen für das automatische Speichern werden im Admin-Center bei den Entwürfen festgelegt.';
// translator note: so many duplicates here? you might want to remove some...the following 8 strings are no more used:
$txt['permissionname_simple_post_draft'] = 'Kann Entwürfe von neuen Beiträgen speichern';
$txt['permissionhelp_simple_post_draft'] = 'Diese Berechtigung erlaubt dem Benutzer, Entwürfe von Beiträgen zu speichern, um diese später fertig zu stellen.';
$txt['permissionname_simple_post_autosave_draft'] = 'Automatisches Speichern von Entwürfen für neue Beiträge';
$txt['permissionhelp_simple_post_autosave_draft'] = 'Diese Berechtigung erlaubt dem Benutzer, seine Beiträge automatisch als Entwurf speichern zu lassen.';
$txt['permissionname_simple_pm_autosave_draft'] = 'Automatisches Speichern von Entwürfen für neue Mitteilungen';
$txt['permissionhelp_simple_post_autosave_draft'] = 'Diese Berechtigung erlaubt dem Benutzer, seine Beiträge automatisch als Entwurf speichern zu lassen.';
$txt['permissionname_simple_pm_draft'] = 'Kann Entwürfe für neue Mitteilungen speichern';
$txt['permissionhelp_simple_pm_draft'] = 'Diese Berechtigung erlaubt dem Benutzer, seine Beiträge automatisch als Entwurf speichern zu lassen.';

So there would be 4 permission strings and 4 help strings left. But I really think, 2 help strings would do it in this case as well? This draft-thing could be explained together for posts and PMs.
12
Localization / Re: German language files (informal) for 1.1.9
Last post by Spuds -
Quote from: Ruth – it has to be permission...not permissions
When I first saw that I thought it was a mistake as well :D ....
Quote from: Ruth – I noticed now, that this string on line 496 in the help files is no more used at all - but it is still in the files:
I'll mark it for removal in 2.0. 

So many of the language strings are difficult to find in the code as they are concatenated in loops, so you get ['something' + $varaiable]  This makes it very difficult to track down usage, and I've commented before that we need to stop doing that.

We also have different strings that say the same thing,  I've been told that was needed for translations in some instances possessive /plural / etc.  needs, but I still find it rather confusing.

Then there are things quad \\\\ escaping, and html entities in the strings, some of which are not needed

Anyway thank you very much for staying with this, I know its a lot of work!!
13
Localization / Re: German language files (informal) for 1.1.9
Last post by Ruth -
I noticed now, that this string on line 496 in the help files is no more used at all - but it is still in the files:

Code: [Select]
$helptxt['permissions_board'] = 'If a board is set to 'Global,' it means that the board will not have any special permissions.  'Local' means it will have its own permissions - separate from the global ones.  This allows you to have a board that has more or less permissions than another, without requiring you to set them for each and every board.';

Such old strings are sometimes really confusing while translating. :rolleyes:

It seems to me, that only some of the german strings have still "global" and "local" in it.
And those strings (and some others) I would change this way now:

In the permission files on line 64 - 70:

english:
Code: [Select]
$txt['permissions_modify_group'] = 'Modify Group';
$txt['permissions_general'] = 'General Permissions';
$txt['permissions_board'] = 'Default Board Profile Permissions';
$txt['permissions_board_desc'] = '<strong>Note</strong>: changing these board permissions will affect all boards currently assigned the &quot;Default&quot; permissions profile. Boards not using the &quot;Default&quot; profile will not be affected by changes to this page.';
$txt['permissions_commit'] = 'Save changes';
$txt['permissions_on'] = 'in profile';
$txt['permissions_local_for'] = 'Permissions for group';

german (old):
Code: [Select]
$txt['permissions_modify_group'] = 'Gruppe ändern';
$txt['permissions_general'] = 'Generelle Berechtigungen';
$txt['permissions_board'] = 'Globale Board-Berechtigungen';
$txt['permissions_board_desc'] = 'Bitte beachte, dass Änderungen am Standard-Profil sämtliche Boards betreffen, denen dieses Profil zugeordnet ist.';
$txt['permissions_commit'] = 'Änderungen speichern';
$txt['permissions_on'] = 'im Profil';
$txt['permissions_local_for'] = 'Lokale Berechtigungen für die Gruppe';

german (new):
Code: [Select]
$txt['permissions_modify_group'] = 'Gruppe ändern';
$txt['permissions_general'] = 'Generelle Berechtigungen';
$txt['permissions_board'] = 'Board-Berechtigungen im Standard-Profil';
$txt['permissions_board_desc'] = 'Bitte beachte, dass Änderungen im Standard-Berechtigungsprofil sämtliche Boards betreffen, denen dieses Profil gegenwärtig zugeordnet ist. Boards mit anderen Berechtigungsprofilen werden von Änderungen auf dieser Seite nicht betroffen.';
$txt['permissions_commit'] = 'Änderungen speichern';
$txt['permissions_on'] = 'im Profil';
$txt['permissions_local_for'] = 'Berechtigungen für die Gruppe';

This way there would be no irritation anymore about "global" and "local", if you edit such profiles or the permissions.

On line 66 "Default" is not really needed, but the german string could tell additional "Default" or "Standard". It means the same in this case. I think "Board Profile Permissions"/"Board-Berechtigungen" would be enough. But I changed this now to "Board-Berechtigungen im Standard-Profil".


In the permission files on line 19:

english:
Code: [Select]
$txt['permissions_profiles_desc'] = 'Permission profiles are assigned to individual boards to allow you to easily manage your security settings. From this area you can create, edit and delete permission profiles.';

german (old):
Code: [Select]
$txt['permissions_profiles_desc'] = 'Berechtigungsprofile können den einzelnen Boards zugeordnet werden, um die Sicherheitseinstellungen mit einfachen Mitteln zu verwalten. Hier kannst du diese Profile erstellen, editieren und löschen.';

german (new):
Code: [Select]
$txt['permissions_profiles_desc'] = 'Berechtigungsprofile werden den einzelnen Boards zugeordnet. In den Profilen wird festgelegt, welche Berechtigungen für die verschiedenen Benutzergruppen gelten sollen. Dies erlaubt es dir, deine Einstellungen hinsichtlich Zugriffsmöglichkeiten und Sicherheit auf einfache Weise zu verwalten. Hier kannst du diese Profile erstellen, ändern und löschen.';



In the permission files on line 132:

english:
Code: [Select]
$txt['permissionhelp_manage_permissions'] = 'This permission allows a user to edit all permissions of a membergroup, globally or for individual boards.';

german (old):
Code: [Select]
$txt['permissionhelp_manage_permissions'] = 'Diese Berechtigung ermöglicht das Ändern aller Berechtigungen einer Benutzergruppe bzw. eines Boards (global und lokal).';

german (new):
Code: [Select]
$txt['permissionhelp_manage_permissions'] = 'Diese Berechtigung ermöglicht das Ändern aller Berechtigungen der Benutzergruppen und den Berechtigungsprofilen der Boards.';



In the permission files on line 292:

english:
Code: [Select]
$txt['permission_by_board_desc'] = 'Here you can set which permission profile a board uses. You can create new permission profiles from the &quot;Edit Profiles&quot; menu.';

german (old):
Code: [Select]
$txt['permission_by_board_desc'] = 'Hier kannst du einstellen, ob ein Board die globalen Berechtigungen benutzt oder ein anderes Berechtigungsprofil verwendet. Solltest du lokale Berechtigungen verwenden, kannst du im betreffenden Board für jede Benutzergruppe individuelle Berechtigungen angeben.';

german (new):
Code: [Select]
$txt['permission_by_board_desc'] = 'Hier kannst du einstellen, welche Berechtigungsprofile in den Boards verwendet werden sollen. Im Abschnitt unter dem Button "Profile ändern" kannst du auch selbst neue Berechtigungsprofile erstellen.';
14
Localization / Re: German language files (informal) for 1.1.9
Last post by Ruth -
Quote from: Ruth –
....But this english string in the helpfile (on line 496) is also not really "up to date"? It should tell about "default" or "standard" instead of "global"?

Code: [Select]
$helptxt['permissions_board']  = 'If a board is set to \'Global,\' it means that the board will not have any special permissions.  \'Local\' means it will have its own permissions - separate from the global ones.  This allows you to have a board that has more or less permissions than another, without requiring you to set them for each and every board.';

I still don't know, how to solve this problem. In my eyes there are no "global settings" anymore.

There are only permission profiles:

The standard (which is set by default),
those 3 preformated profiles, you can select instead the standard
and those profiles you can create by yourself.

It seems wrong to me to talk about "global" and "local" here. It will confuse people. They need to select (or to create) another profile in some bords if they want other permissions than the standard.

There are a lot of other german strings, which are still using "global" or "local"....maybe the best to change all this old texts?



@Jorin

Was meinst du dazu? Ich finde diese Mixtur von alten und neuen Bezeichnungen und Erläuterungen sehr verwirrend.

Tw. sind sie auch offenkundig falsch. Es ist z.B. nicht möglich, "direkt innerhalb eines Boards mit lokalen Berechtigungen für jede Benutzergruppe individuelle Berechtigungen anzugeben". Man müsste für Änderungen der Gruppenberechtigungen zunächst mal ein weiteres Berechtigungprofil erstellen, das dann für das jeweilige Board ausgewählt wird, in dem die Berechtigungen anders sein sollen.



I tried to explain things here a bit. This is the "main" help string about permissions, displayed on the top of all sections about permissions:

english:
Code: [Select]
$helptxt['permissions'] = 'Permissions are how you either allow groups to, or deny groups from, doing specific things.<br /><br />You can modify multiple boards at once with the checkboxes, or look at the permissions for a specific group by clicking \'Modify.\'';

german(old):
Code: [Select]
$helptxt['permissions'] = 'Berechtigungen haben die Funktion, bestimmten Gruppen Aktionen zu erlauben oder zu verbieten<br /><br />Du kannst mit Hilfe der Checkboxen mehrere Boards gleichzeitig ändern oder die Berechtigungen einer bestimmten Benutzergruppe ändern, in dem du auf \'Ändern\' klickst.';

german(new):
Code: [Select]
$helptxt['permissions'] = 'Berechtigungen haben die Funktion, bestimmten Benutzergruppen Aktionen zu erlauben, sie einzuschränken oder zu verbieten. Dies geschieht durch generelle Gruppen-Berechtigungen sowie durch die vorgegebenen oder selbst erstellten Berechtigungsprofile, die in den Boards zur Anwendung kommen.<br /><br />Du kannst mit Hilfe der Checkboxen mehrere Boards gleichzeitig ändern. Im Standard-Berechtigungsprofil und in den selbst erstellten Berechtigungsprofilen kannst du die jeweils gewünschten Board-Berechtigungen von Benutzergruppen ändern und neu festlegen. Klicke dafür im betreffenden Berechtigungsprofil bei der jeweiligen Benutzergruppe auf \'Ändern\'.';

The old and the new popup of this string:
15
Localization / Re: German language files (informal) for 1.1.9
Last post by Ruth -
lol

I just saw it

it has to be permission...not permissions

Oh my goodness.... :embarrassed:  sorry, Spuds.



Edit:

The german text is there now. 

Maybe I should do something else now for a while....I start to become crazy with all this strings....  :zany_face:
16
Localization / Re: German language files (informal) for 1.1.9
Last post by Ruth -
It looks all proper to me, Spuds...

Code: [Select]
$helptxt['permissions_enable_deny'] = 'Das Verbieten von Berechtigungen erlaubt es dir, bestimmte Funktionen gewählten Benutzergruppen zu entziehen. Dazu erstellst du z.B. eine Benutzergruppe und verbietest dieser eine bestimmte Berechtigung.<br /><br />Benutze diese Option mit großer Vorsicht, da verbotene Berechtigungen den Benutzern nicht mehr zur Verfügung stehen, selbst wenn die Berechtigungen in einer anderen Gruppe erlaubt sind, der dieser Benutzer angehört.';
$helptxt['permissions_enable_postgroups'] = 'Das Aktivieren der Berechtigungen für beitragsbasierende Gruppen erlaubt das Zuweisen von Berechtigungen an Benutzer mit einer bestimmten Beitragszahl. Diese Berechtigungen werden zu den bereits vorhanden <em>addiert</em>.';

I was thinking before...maybe this english strings are still twice there with and without this "enable"?

And the file of my forum, which is picking those two strings out of the help file is picking one of the two english variants?
19
Localization / Re: German language files (informal) for 1.1.9
Last post by Spuds -
I change my test forum to German and those help strings are in German ?  Looking in that file I find
Code: [Select]
$helptxt['permission_enable_deny'] = 'Das Verbieten von Berechtigungen erlaubt es dir, bestimmte Funktionen gewählten Benutzergruppen zu entziehen. Dazu erstellst du z.B. eine benutzergruppe und verbietest dieser eine bestimmte Berechtigung.<br /><br />Benutze diese Option mit großer Vorsicht, da verbotene Berechtigungen den Benutzern nicht mehr zur Verfügung stehen, selbst wenn die Berechtigungen in einer anderen Gruppe erlaubt sind, der dieser Benutzer angehört.';
$helptxt['permission_enable_postgroups'] = 'Das Aktivieren der Berechtigungen für beitragsbasierende Gruppen erlaubt das Zuweisen von Berechtigungen an Benutzer mit einer bestimmten Beitragszahl. Diese Berechtigungen werden zu den bereits vorhanden <em>addiert</em>.';
So I'm not sure what to say.
20
Localization / Re: German language files (informal) for 1.1.9
Last post by Ruth -
Another thing:

This two strings on line 498 and 499 in the helpfile are still displayed in english on test forum.
Code: [Select]
$helptxt['permission_enable_deny'] = 'Denying permissions can be useful when you want take away permission from certain members. You can add a membergroup with a \'deny\'-permission to the members you wish to deny a permission.<br /><br />Use with care, a denied permission will stay denied no matter what other membergroups the member is in.';
$helptxt['permission_enable_postgroups'] = 'Enabling permissions for post count based groups will allow you to attribute permissions to members that have posted a certain amount of messages. The permissions of the post count based groups are <em>added</em> to the permissions of the regular membergroups.';

the german strings had been like this before:
Code: [Select]
$helptxt['permission_deny'] 
and
$helptxt['permission_postgroups']

I added this "enable" in both strings, but there is still the english text on forum?