# System language as a condition

**URL:** <https://community.folivora.ai/t/system-language-as-a-condition/47894>\
**Category:** Feature Requests\
**Created:** [September 29, 2026, 2:14pm UTC](https://community.folivora.ai/t/system-language-as-a-condition/47894 "2026-09-29T14:14:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukasvac](https://community.folivora.ai/user_avatar/community.folivora.ai/lukasvac/32/42711_2.png) [@lukasvac](https://community.folivora.ai/u/lukasvac)\
**Post date:** [September 29, 2026, 2:14pm UTC](https://community.folivora.ai/t/system-language-as-a-condition/47894/1 "2026-09-29T14:14:19Z")

</div>

Hi, would it be possible to add the system language as an option in the conditions?

I have BTT on two Macs with synchronized settings. One is set to English, while the other is set to Czech. I’d like to set up a single trigger with a condition that detects the system language and then calls the corresponding menubar-item. One trigger performs the same function, but the menu item is of course named differently in each language. Thanks.

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [September 29, 2026, 2:22pm UTC](https://community.folivora.ai/t/system-language-as-a-condition/47894/2 "2026-09-29T14:22:20Z")

</div>

For the trigger menu bar menu item action you might not need this as it allows to specify alternatives.

```auto
File||Datei;New Window||Neues Fenster

```

For example this would trigger File =\> New Window in english and Datei =\> Neues Fenster in German:

 ![image](https://community.folivora.ai/uploads/default/original/3X/f/9/f9c75b5e022bea8a5a00de7364a993a5c18d40b0.webp)

Alternatively you can use the "If JavaScript returns true" with such a script:

```JS
async function languageIsEnglish() {
   const result = await runShellScript({script: "defaults read -g AppleLanguages"})
   const languages = [...result.matchAll(/"([^"]+)"/g)].map(m => m[1]);
   const firstLanguage = languages[0];

   return firstLanguage === "en-US";
}

```

 ![image](https://community.folivora.ai/uploads/default/original/3X/3/4/34de54879ac417f6a21eeaaadc9beb8805571d7f.webp)

---

<div class="post-metadata">

**Author:** ![lukasvac](https://community.folivora.ai/user_avatar/community.folivora.ai/lukasvac/32/42711_2.png) [@lukasvac](https://community.folivora.ai/u/lukasvac)\
**Post date:** [September 29, 2026, 2:35pm UTC](https://community.folivora.ai/t/system-language-as-a-condition/47894/3 "2026-09-29T14:35:00Z")

</div>

The first option using || works perfectly. It didn't occur to me to use a logical operator. Thanks a lot.
