JAVA API to get the typographically correct quotation marks for a specific Locale

后端 未结 2 1060
无人及你
无人及你 2021-02-18 16:37

Is there an API in Java to obtain the typographically correct quotation marks (opening + closing) for a specific Locale?

See for example this table:

https://de.w

相关标签:
2条回答
  • 2021-02-18 16:39

    you can try using ICU4J project, e.g. class LocaleData

    0 讨论(0)
  • 2021-02-18 16:58

    Seems like this does not: https://forums.oracle.com/thread/1286548?tstart=90

    But why anyway? If you're doing internationalization you have to translate the words and sentences anyway. So why you want to split the quotation marks from the text?

    Or do you have something special in mind?

    0 讨论(0)
提交回复
热议问题