| Interface | Description |
|---|---|
| CodeEnum |
business code, and can also be used as i18nCode.
|
| I18nAware |
code should be fixed.
|
| I18nAware.I18nSource | |
| I18nEnum |
Empower i18n capability to common enums
|
| Class | Description |
|---|---|
| I18nMessage |
global message for user, the i18n templates and parameters should be merged into
a local message based on the user's language, rather than the default message.
|
| I18nName |
use name as i18nCode, without hint and args.
|
| I18nNotice |
specified message for user to know what and why.
|
| I18nString |
String can be used as i18n template (MessageFormat by default)
- i18nCode - template id, default empty
- i18nArgs - template arguments, default empty
- i18nHint - default text or template, not in hash and equals, default empty
- i18nCache - cached value for performance
|
| LocaleResolver |
Supports the underscore(en_US) and the kebab(en-US) naming,
return Locale.getDefault() if not found.
|
| ZoneIdResolver |
Supports case-insensitive and partial naming
|
| Enum | Description |
|---|---|
| AssertErrorEnum |
message rules,
- simplicity first.
|
| CrudErrorEnum | |
| I18nNotice.Type |
the notice type that should be able to locate the input
|
Copyright © 2025. All rights reserved.