Use languages other than enum Languages
Is there a way to set the language of the app to a language other than the ones that are defined in Languages. For example I would like to change the language to Bulgarian or Serbian?
I suggest you make a PR to the repo with the changes you want, or install the library manually and add the changes manually in your project.
@NewestUser Can you create a pull request with the new languages you want to add? I'm keeping them as enum for multiple reasons:
- Not to make a mistake by passing a string with a typo.
- It will be easier to use.
Can anyone create a pull request adding the Bulgarian and Serbian languages?
Serbian was just an example. In reality currently I need Bulgarian and Macedonian which just highlights the limits of the enum definition. IMO it would be nice to have a few mainstream languages defined as an enum but also provide the ability to pass strings. If a typo is made then it will be up to the developer to fix that typo, at the end he will notice that the language isn't working as expected and he will be forced to track down the typo and fix it.
Can anyone create a pull request adding the Bulgarian and Serbian languages?
Unfortunately I currently can't dedicate time to this.