# \[Script\] WME Closure Tab Enabler

**URL:** https://www.waze.com/discuss/t/script-wme-closure-tab-enabler/170041
**Category:** Addons, Extensions, And Scripts
**Created:** [March 30, 2018, 8:16pm UTC](https://www.waze.com/discuss/t/script-wme-closure-tab-enabler/170041 "2018-03-30T20:16:05Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![GuySpr](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/g/FFC400/32.png) [@GuySpr](https://www.waze.com/discuss/u/GuySpr)
#### Post date: [March 30, 2018, 8:16pm UTC](https://www.waze.com/discuss/t/script-wme-closure-tab-enabler/170041/1 "2018-03-30T20:16:05Z")

</div>

WME Closure Tab Enabler is a simple script that enables the Closure tab even if you don’t match the lever requirement so you can see the closures on the selected element.

Greasyfork: [https://greasyfork.org/en/scripts/40085-wme-closure-tab-enabler](https://greasyfork.org/en/scripts/40085-wme-closure-tab-enabler)

---

<div class="post-metadata">

### Author: ![jangliss](https://www.waze.com/discuss/user_avatar/www.waze.com/jangliss/32/4970_2.png) [@jangliss](https://www.waze.com/discuss/u/jangliss)
#### Post date: [March 30, 2018, 9:31pm UTC](https://www.waze.com/discuss/t/script-wme-closure-tab-enabler/170041/2 "2018-03-30T21:31:26Z")

</div>

Instead of coding the translations into your script, you should be able to use:

```auto
I18n.translations[I18n.locale].edit.segment.tabs.closures
```

This pulls the translation option (I18n is an abbreviation of Internationalization), the I18n.locale returns the localization that is active at the moment, then the other parts are the break down of the objects.

---

<div class="post-metadata">

### Author: ![GuySpr](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/g/FFC400/32.png) [@GuySpr](https://www.waze.com/discuss/u/GuySpr)
#### Post date: [March 31, 2018, 9:18am UTC](https://www.waze.com/discuss/t/script-wme-closure-tab-enabler/170041/3 "2018-03-31T09:18:52Z")

</div>

> [@jangliss](#):
>
> Instead of coding the translations into your script, you should be able to use:
> 
> ```auto
> I18n.translations[I18n.locale].edit.segment.tabs.closures
> ```
> 
> This pulls the translation option (I18n is an abbreviation of Internationalization), the I18n.locale returns the localization that is active at the moment, then the other parts are the break down of the objects.

Thanks for your suggestion! I have updated the script accordingly, now it should always work 😃

---

<div class="post-metadata">

### Author: ![jm6087](https://www.waze.com/discuss/user_avatar/www.waze.com/jm6087/32/78905_2.png) [@jm6087](https://www.waze.com/discuss/u/jm6087)
#### Post date: [March 31, 2018, 10:59am UTC](https://www.waze.com/discuss/t/script-wme-closure-tab-enabler/170041/4 "2018-03-31T10:59:00Z")

</div>

If you haven’t already done so, I would suggest you join the [Discord Scripts Server](https://discord.gg/2E5ZX2j) as well. It is a great was to communicate with the people who install your scripts and talk to other script writers.

---

<div class="post-metadata">

### Author: ![GBSpeedy1305](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/g/FFC400/32.png) [@GBSpeedy1305](https://www.waze.com/discuss/u/GBSpeedy1305)
#### Post date: [April 5, 2018, 1:08am UTC](https://www.waze.com/discuss/t/script-wme-closure-tab-enabler/170041/5 "2018-04-05T01:08:31Z")

</div>

First time trying to use scripts with WME.  
I got a runtime error while trying to launch the script.  
I have signed up to discord if that helps, plus I left feedback where I downloaded the script.

---

<div class="post-metadata">

### Author: ![westfordjoe](https://www.waze.com/discuss/letter_avatar_proxy/v4/letter/w/90959C/32.png) [@westfordjoe](https://www.waze.com/discuss/u/westfordjoe)
#### Post date: [January 2, 2019, 11:28pm UTC](https://www.waze.com/discuss/t/script-wme-closure-tab-enabler/170041/6 "2019-01-02T23:28:44Z")

</div>

When I run this script along with the other scripts I typically use, I don’t get an option to save after deleting a segment or a map comment.
