File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1268,7 +1268,7 @@ siteLanguage()
12681268 Returns the language ID as an integer.
12691269
12701270 :typoscript: `siteLanguage("locale") `
1271- Returns the current locale as a string, for example `en_GB ` or `de_DE `.
1271+ Returns the current locale as a string, for example `en-GB ` or `de-DE `.
12721272
12731273 :typoscript: `siteLanguage("base") `
12741274 Returns the configured base URL as a string.
@@ -1307,8 +1307,8 @@ siteLanguage()
13071307 .. code-block :: typoscript
13081308 :caption: EXT:site_package/Configuration/TypoScript/setup.typoscript
13091309
1310- [siteLanguage("locale") == "de_CH "]
1311- page.10.value = This site has the locale "de_CH"
1310+ [siteLanguage("locale") == "de-CH "]
1311+ page.10.value = This site has the locale "de_CH" or "de_CH.utf8"
13121312 [END]
13131313
13141314 [siteLanguage("title") == "Italy"]
You can’t perform that action at this time.
0 commit comments