# Datetimeitem language

**URL:** <https://community.openhab.org/t/datetimeitem-language/2448>\
**Category:** Items & Sitemaps\
**Tags:** datetimeitem\
**Created:** [September 9, 2015, 3:56am UTC](https://community.openhab.org/t/datetimeitem-language/2448 "2015-09-09T03:56:26Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![guessed](https://community.openhab.org/user_avatar/community.openhab.org/guessed/32/616_2.png) [@guessed](https://community.openhab.org/u/guessed)\
**Post date:** [September 11, 2015, 3:19pm UTC](https://community.openhab.org/t/datetimeitem-language/2448/10 "2015-09-11T15:19:55Z")

</div>

Out of interest, what’s your JVM Language?

ie. run this as a Rule and look at the output in `openhab.log`:

```
import java.util.Locale

rule "Test Locale"
when Time cron "0/10 * * * * ?"
then
  val Locale LOCALE = Locale::getDefault

  logInfo('locale', LOCALE.toString)
end

```

It’s possible that some i18n elements aren’t printed correctly because the JVM settings aren’t setup (or are defaulting to US). These are typically picked up from the OS, in an OS dependent manner. For Linux, it involves specific Environment variables (think `LANG`, `LANGUAGE`)

---

_[View the full topic](https://community.openhab.org/t/datetimeitem-language/2448)._
