Summary
In this chapter, you learned how to make your applications more accessible to people who speak different languages or are located in various locations. You learned about the Transloco library and how it can be used to implement localization and internationalization. You created language files to provide translation key-value pairs and implemented the translations in your HTML templates. You learned to translate values using structural directives, attribute directives, pipes, and the TranslocoService
. After learning about translatable content, you learned how to format values for users from different locations. You learned about the translocoCurrency
, translocoDate
, and translocoDecimal
pipe. You’ve seen how to configure your applications for localization and how to overwrite your default settings for specific instances within your code. After internationalizing and localizing your website, you learned about accessibility. You got familiar with the WCAG and how you can...