Refactor Localization Service
- 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.
This commit is contained in:
9
data/i18n/metadata.yaml
Normal file
9
data/i18n/metadata.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
languagesInfo:
|
||||
en:
|
||||
name: "English"
|
||||
shortName: "en"
|
||||
de:
|
||||
name: "Deutsch"
|
||||
shortName: "de"
|
||||
prefix: "test"
|
||||
Reference in New Issue
Block a user