Localization
Gravity supports client-side localisation with the i18next package. The section explains how to translate the client side UI.
Locale Files
/locales
/en
en_dashboard.json
en_help.json
/es
es_dashboard.json
es_help.json{
"title": "Dashboard",
"message": {
"title": "Welcome to Gravity!",
"text": "This is a sample dashboard to get you started. Please read the documentation to learn how to build your own features."
},
{
"title": "Tablero de Control",
"message": {
"title": "¡Bienvenido a Gravity!",
"text": "Este es un tablero de muestra para comenzar. Por favor, lea la documentación para aprender a construir sus propias características."
},Adding More Locales
Performing Translations
Table Translations
Switching Languages
Last updated