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
Currently Spacialist only supports english and german language. Any other language is very welcome! No matter if they are widespread (as e.g. french, italian, arabic) or endangered (e.g. hawaiian).
To add translations for another language simply
duplicate resources/js/i18n/en.js and rename it to match your country code and, if required, your region (e.g. fr for french or en-gb for british english or simply en for non-regional english vocabulary).
Rename in the first line of your duplicated file const en to const CODE and at the end of your file export default en to export default CODE
Edit resources/js/bootstrap/i18n.js and import your new added language (import CODE from ../i18n/CODE) and add it to the messages object
Example (adding french)
Before
// Some imports ...importenfrom'../i18n/en';importdefrom'../i18n/de';constmessages={en: en,de: de}// More code
After
// Some imports ...importenfrom'../i18n/en';importdefrom'../i18n/de';importfrfrom'../i18n/fr';constmessages={en: en,de: de,fr: fr,}// More code
The text was updated successfully, but these errors were encountered:
Currently Spacialist only supports english and german language. Any other language is very welcome! No matter if they are widespread (as e.g. french, italian, arabic) or endangered (e.g. hawaiian).
To add translations for another language simply
resources/js/i18n/en.js
and rename it to match your country code and, if required, your region (e.g. fr for french or en-gb for british english or simply en for non-regional english vocabulary).const en
toconst CODE
and at the end of your fileexport default en
toexport default CODE
resources/js/bootstrap/i18n.js
and import your new added language (import CODE from ../i18n/CODE
) and add it to the messages objectExample (adding french)
Before
After
The text was updated successfully, but these errors were encountered: