You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a directory to the project called ‘texts’ or ‘loc’ which contains .lang files each belonging to a language:
en_US.lang -> english
es_ES.lang -> español
etc
playing_song=Reproduciendo: {song}
Localization files (opt 2)
Add a directory to the project called ‘texts’ or ‘loc’ which contains .py files each belonging to a language:
translations= {
'PLAYING_SONG': 'Reproduciendo: {song}',
'LANGUAGE_CHANGED': 'Se ha cambiado el idioma a Español',
}
Keys/Value Parser
it would be necessary to create a parser that obtains each of the translation values and sends messages according to the chosen language
Command
/language<value>
or
/configlanguage<value>
The text was updated successfully, but these errors were encountered:
(No code included)
How
Localization files (opt 1)
Add a directory to the project called ‘texts’ or ‘loc’ which contains .lang files each belonging to a language:
en_US.lang -> english
es_ES.lang -> español
etc
Localization files (opt 2)
Add a directory to the project called ‘texts’ or ‘loc’ which contains .py files each belonging to a language:
Keys/Value Parser
it would be necessary to create a parser that obtains each of the translation values and sends messages according to the chosen language
Command
/language
<value>
or
/config
language
<value>
The text was updated successfully, but these errors were encountered: