Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.25.1 Adding support for system localization settings. #32

Closed
wants to merge 1 commit into from

Conversation

tct123
Copy link

@tct123 tct123 commented Dec 1, 2024

Adding support for system localization settings.

@CLAassistant
Copy link

CLAassistant commented Dec 1, 2024

CLA assistant check
All committers have signed the CLA.

@FeodorFitsner FeodorFitsner changed the base branch from main to 0.25.1 December 1, 2024 21:48
@ndonkoHenri
Copy link

How do you plan to make use of that variable?

@tct123
Copy link
Author

tct123 commented Dec 2, 2024

Import flet as ft

def main(page: ft.Page):
    mylocale = page.defaultlocale()
    page.add(ft.Text(f"Current locale is �{mylocale}"))

ft.app(main)

@ndonkoHenri
Copy link

ndonkoHenri commented Dec 2, 2024

This is not how to do it.
We will propertly implement it in flet-dev/flet#3010

Please be patient.

@ndonkoHenri ndonkoHenri closed this Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants