Forum Discussion
Notebook - locale.setlocale to other languages
- Anonymous1 year ago
Hi tkiwi ,
Thank you for reaching out to the Microsoft Fabric Community.
Currently, Microsoft Fabric notebooks only support the en-US locale at the system level, so changing the notebook’s system locale to German (or other languages) isn’t possible right now.
However, you can achieve German date/time formatting by using Python libraries like babel, which provide localized month and day names without relying on system locales. For example, with babel, you can format dates in German directly within your notebook regardless of the underlying locale support.
Please refer the following screenshot for your understanding:
I hope this will resolve your issue, if you need any further assistance, feel free to reach out.
If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thankyou.
Hi tkiwi ,
Thank you for reaching out to the Microsoft Fabric Community.
Currently, Microsoft Fabric notebooks only support the en-US locale at the system level, so changing the notebook’s system locale to German (or other languages) isn’t possible right now.
However, you can achieve German date/time formatting by using Python libraries like babel, which provide localized month and day names without relying on system locales. For example, with babel, you can format dates in German directly within your notebook regardless of the underlying locale support.
Please refer the following screenshot for your understanding:
I hope this will resolve your issue, if you need any further assistance, feel free to reach out.
If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thankyou.
- Anonymous1 year agoNot applicable
Hi tkiwi ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.