abacritt / angularx-social-login

Social login and authentication module for Angular 17
641 stars 388 forks source link

Allow Manual Language Selection for Google Button. #762

Open mateuszprzeczek opened 6 months ago

mateuszprzeczek commented 6 months ago

Issue Description: Currently, users of "@abacritt/angularx-social-login" face a challenge with Google login button language selection. The library lacks a feature to manually set the button's language, hindering its usability for multilingual applications.

Problem Statement: The absence of manual language selection for the Google button creates inconsistency in user experience, particularly in multilingual contexts.

Proposed Solution: Introduce a "lang" field with a language code value within the "useValue" property in the configuration file. This enhancement empowers developers to specify the language for the Google button manually, ensuring a consistent interface language across diverse user bases.

Benefits: Enhanced user experience and accessibility Simplified localization for applications targeting multilingual audiences