-
Notifications
You must be signed in to change notification settings - Fork 1
TranslatableSnippet
Luis Benavides-Naranjo edited this page Mar 14, 2024
·
4 revisions
- All TranslatableSnippets have fields. If a required field is missing in the configuration, it will log it in console.
- ❌ = Required
- ✅ = Optional
- Snippet (The snippet of text to be translated) [❌]
-
#your key would be the name of your file. if your file is "epic_event.yml", then the key is "epic_event" Snippet: "&5An epic event has taken place"```
-
epic_event: # your TranslatableSnippet key would be "epic_event" Snippet: "&5An epic event has taken place"```
-
myServerLOLomgYOLO: epic_event: # your TranslatableSnippet key would be "myServerLOLomgYOLO.epic_event" Snippet: "&5An epic event has taken place"```
-
- Locale (The locale of this TranslatableSnippet) [✅] Defaults to en_us
-
#your key would be the name of your file. if your file is "epic_event.yml", then the key is "epic_event" Locale: es_es Snippet: "&5Un evento épico acaba de tener lugar"```
-
Locale: es_es epic_event: # your TranslatableSnippet key would be "epic_event" Snippet: "&5Un evento épico acaba de tener lugar"```
-
Locale: es_es myServerLOLomgYOLO: epic_event: # your TranslatableSnippet key would be "myServerLOLomgYOLO.epic_event" Snippet: "&5Un evento épico acaba de tener lugar"```
-