Class LocalizationFragment
java.lang.Object
com.tccc.kos.commons.util.json.fragments.LocalizationFragment
- All Implemented Interfaces:
KosDescriptorFragment
Standard descriptor fragment for describing available languages resource.
This can be used by kabs that contain translation files contained within
the kab. This can be used in conjunction with
LocalizationContext
to merge together translations from different kabs into a single unified
context that can be accessed by a ui to identify the available languages,
fallbacks, defaults and even access the files directly from the VFS.- Since:
- 1.0
- Version:
- 2023-12-07
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setLocalization
(LocalizationFragment.Localization localization)
-
Field Details
-
PATH
- See Also:
-
-
Constructor Details
-
LocalizationFragment
public LocalizationFragment()
-
-
Method Details
-
setLocalization
-
getLocalization
-