blackbaud / skyux2-docs

Documentation for SKY UX Components
4 stars 32 forks source link

Localisation #1070

Closed doctorRush closed 2 years ago

doctorRush commented 2 years ago

I want to know how to use browser default localisation. Suppose i want french to be loaded . Do i have to create file file resources_fr_FR.json in locales folder and all is handled automatically.

blackbaud-johnly commented 2 years ago

Have you looked at the documentation at https://developer.blackbaud.com/skyux/learn/get-started/advanced/localization? Let me know if that helps and if you find gaps in those docs. Thanks!

doctorRush commented 2 years ago

Yes i have looked into it but it didn't helped me. The document says that you dnt have to make any configuration if you are building the skyux app . But it doesn't mention how to provide second language let say french or dutch and how browser's language switch will change the language ?

Blackbaud-KerryCampbell commented 2 years ago

Currently, localization of SPAs in SKY UX 4 is for internal Blackbaud SPA only. The SKY UX 5 version will support Angular CLI and you will be able to use Angular localization. Documentation will be include after SKY UX 5 is released.