Skip to content

Change language "on the fly" globally #110

@antalmate12

Description

@antalmate12

Is your feature request related to a problem? Please describe.
It would be nice to have an option to change the language of the component "on the fly", for example if I have a big application with multiple languages, I'd set the default language like:

MatSelectCountryModule.forRoot('en'),

Describe the solution you'd like
We could maybe add a service that can also control the language, and we could just call it when the entire app's language changes like:

this.selectCountryService.selectLanguage('hu')

so, that I don't have to get the currently selected app language and pass it to select-country every time as an Input

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions