feat: localization support #9

Open
opened 2024-10-30 21:36:05 +01:00 by JeremyStarTM · 0 comments
Owner

Feature description

Having a good and easy to use way to load translations, maybe process them and use them dynamically would be awesome.

Feature implementation

I'd propose creating one class for this job called Translations. It should contain one method for loading translation files in various different formats (csv, JSON, etc.), another way to somehow process them how the developer likes (maybe create a new class just for that and index them into a list from where they can be called during the loading process?) and finally one method for getting a translation by it's identifier and language.

Feature alternatives

No response

### Feature description Having a good and easy to use way to load translations, maybe process them and use them dynamically would be awesome. ### Feature implementation I'd propose creating one class for this job called `Translations`. It should contain one method for loading translation files in various different formats (`csv`, `JSON`, etc.), another way to somehow process them how the developer likes (maybe create a new class just for that and index them into a list from where they can be called during the loading process?) and finally one method for getting a translation by it's identifier and language. ### Feature alternatives _No response_
JeremyStarTM added the
FeatureRequest
New
label 2024-10-30 21:36:05 +01:00
JeremyStarTM added this to the v1-release0 milestone 2024-10-30 21:36:13 +01:00
JeremyStarTM added
FeatureRequest
Accepted
and removed
FeatureRequest
New
labels 2024-10-30 21:38:41 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: StarOpenSource/Engine#9
No description provided.