Need to know which are cultures are supported for TextBlock.IsHyphenationEnabled #9731
ankushmadankar
started this conversation in
General
Replies: 1 comment 8 replies
-
The hyphenation is performed by the OS. The supported languages can differ based OS version and indeed installed language features. Depending on the application, you might want the user to be able to enable/disable hyphenation, but I would expect if you enable it and there is no support for given language, the text will not be hyphenated. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently working on a WPF application and using the TextBlock.IsHyphenationEnabled property to handle text hyphenation. I understand that hyphenation behavior can be culture-specific, and I'm trying to ensure proper functionality across different languages.
Could anyone provide a list of cultures that are officially supported for hyphenation when using the
TextBlock.IsHyphenationEnabled
property? Specifically, I'm interested in knowing if languages like Swedish (sv-SE), German (de-DE), and others are fully supported.I see some code related to it but not sure how culture support is done:
Class:
NaturalLanguageHyphenator
Additionally, if any specific settings or configurations are required on the client machine, such as installing language packs in Windows.
Code and debugging values for TextBlock and Culture info
Machine with language sv-SE installed is not able to hyphenate string.
Any documentation or experiences you can share would be greatly appreciated!
Thanks in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions