- 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
336 B
YAML
13 lines
336 B
YAML
---
|
|
shortName: "de"
|
|
entries:
|
|
test-1: "hallo"
|
|
test-2: "welt"
|
|
test-3: "Willkommen zu Exo's Spieleengine Demo!"
|
|
test-4: "Design auswählen"
|
|
test-5: "Dies ist eine Nachricht\\n123...\\nSchönen Tag noch!"
|
|
test-6: "Ok"
|
|
test-7: "Audio umschalten"
|
|
test-8: "ScrollArea Demo"
|
|
test-9: "Sprache auswählen"
|
|
test-10: "Aktuell: " |