语言环境
适用于 ✅ 开源版 ✅ 专业版 ✅ 企业版
在执行区域设置敏感操作时,例如将名称转换为大写或小写(请参阅 名称样式),在某些情况下,能够为操作指定 java.util.Locale
可能会很重要。
示例配置
// All of these default to Locale.getDefault(), if not specified explicitly Settings settings = new Settings() .withLocale(Locale.forLanguageTag("de")) // The default locale if no more specific locales are specified .withRenderLocale(Locale.forLanguageTag("de")) // The locale used when rendering SQL .withParseLocale(Locale.forLanguageTag("de")) // The locale used when parsing SQL .withInterpreterLocale(Locale.forLanguageTag("de")); // The locale used when interpreting SQL
反馈
您对此页面有任何反馈吗? 我们很乐意听取您的意见!