Hello, please advice how do I add new language for selfhosted v5, I see the language in Invoice Ninja localization | Transifex it about 20% and I cannot work to complete it but I can do as I needed only on my own IN installation.
I am just a regular user with cpanel hosting and installed IN via softaculous and I can make changes on file manager and the also database.
@david I see it about 3805 Untranslated and if I translate all with average 2 minutes per translation, it will require 380 hours, and I do not have that much patient and time.
So I was thinking if I can only translate things I need in my own IN installation will be efficient and problem solving at this moment, of course I want to help translating in that transifex but it needs time.
then in the lang directory, you would create a folder named the iso 3166 2 locale code for your language.
Inside there you would create a texts.php file, you would need to copy one from another folder as it contains all of the keys and then replace the keys.
Here is why all of this is a terrible idea.
You would need to manually check for future language additions.
Only the API and Client Portal language translations would appear, none of the translations would be present in the admin portal.
If in the future we add languages into the official repository, your migrations will break as you have hardcoded a language into the system.
@hillel can you advise if a user selects a language in the AP which the AP does not have translations for, will the AP fall back to english? or will it error?