Simple Translation Examples

These are examples of performing translation using the Browser's detected language
These are examples of performing translation by explicitly specifying the language of French
These are examples of handling invalid inputs
- The first example shows an error when there is a VALID language file but the requested the translation doesn't exist.
- The second example shows that an error is triggered in the console because 'sp' doesn't exist, it then fallsback to 'en'.
- The third example shows what would happen if the default language was 'de' and neither the default or the user's language had translation files supplied.
This is an example of getSupportedLanguages()
This is an example of isLanguageSupported('sp') ===
Check the console for error handling examples