After updating to the latest version, there is a new field called ‘client_title’ in the customer section to specify the salutation of the client. Unfortunately, the salutations are only available in English, i.e., Mr., Mrs., Doctor.
Where can I change these options to German, and what are the selection fields called? What does InvoicePlane store in the database when a different language is used? Is it always ‘Mr.’ or ‘Mrs.’ that gets stored, or does it then store the German designation ‘Herr’ or ‘Frau’?"
I couldn’t find any information about these changes anywhere.
1 Like
No translation has been applied yet.
The file is: https://github.com/InvoicePlane/InvoicePlane/blob/development/application/modules/clients/Enums/ClientTitleEnum.php
it has to be `_trans(‘mr’); or something similar.
It was already added to the English translation file.
These are the values:
'mr' => 'mr',
'mrs' => 'mrs',
'doctor' => 'doctor',
'professor' => 'professor',
'custom' => 'custom',
If you copy/paste it to your German translation file, all you need it make _trans('mr')
work.
It might work already, by the latest code that i saw just now.
Can you add those values to your translations file?
It has to be uploaded to crowdin, so other languages can translate it as well.
I wouldn’t hard-code it, but you can, until we do another update.
We’ll resolve this problem in the next update