- Updated LocalizationService interface to load localization data from a Path instead of InputStream. - Enhanced LocalizationServiceImpl to handle loading and saving of localization data from directories. - Introduced LocalizationLanguage and LocalizationMetadata classes to encapsulate language entries and metadata. - Refactored Localizations class to manage language files and metadata more effectively. - Added unit tests for loading localizations from directory and verifying language translations. - Created YAML files for English and German languages along with a metadata file for localization information.
13 lines
313 B
YAML
13 lines
313 B
YAML
---
|
|
shortName: "en"
|
|
entries:
|
|
test-1: "hello"
|
|
test-2: "world"
|
|
test-3: "Welcome to Exo's Game Engine Demo!"
|
|
test-4: "Select Theme"
|
|
test-5: "This is a message\\n123...\\nHave a nice day!"
|
|
test-6: "OK"
|
|
test-7: "Toggle Audio"
|
|
test-8: "ScrollArea Demo"
|
|
test-9: "Select Language"
|
|
test-10: "Current: " |