# Customize language names in HLS stream

**URL:** https://community.wowza.com/t/customize-language-names-in-hls-stream/52764
**Category:** Wowza Streaming Engine
**Created:** [January 31, 2019, 5:19pm UTC](https://community.wowza.com/t/customize-language-names-in-hls-stream/52764 "2019-01-31T17:19:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Brian\_Laske1](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Brian\_Laske1](https://community.wowza.com/u/Brian_Laske1)
#### Post date: [January 31, 2019, 5:19pm UTC](https://community.wowza.com/t/customize-language-names-in-hls-stream/52764/1 "2019-01-31T17:19:46Z")

</div>

When specifying languages for multi-language caption files, is there a way to define custom language codes or names?

We are hosting HLS streams with multiple languages by loading all of the captions into a TTML file that has multiple language sections, and referencing it from a SMIL file. We have a use case where a user wants to include multiple localization of spanish (cuban, mexico, castillian, etc) in the same HLS stream. But we don’t know of a way to refine a language code by locale.

Locale is supported by TTML with ISO-3611 region codes (i.e. spa-CU for Spanish / Cuba). HLS supports language name in the NAME tag. According to the Wowza documentation, only the first 2 or 3 characters of a language code are allowed, so we don’t see a way to pass a language name such that it appears in the NAME tag for the HLS manifest. Is there any way to do this?

---

<div class="post-metadata">

### Author: ![Oleksii\_Khomenko](https://avatars.discourse-cdn.com/v4/letter/o/5daacb/32.png) [@Oleksii\_Khomenko](https://community.wowza.com/u/Oleksii_Khomenko)
#### Post date: [July 15, 2024, 9:12pm UTC](https://community.wowza.com/t/customize-language-names-in-hls-stream/52764/2 "2024-07-15T21:12:54Z")

</div>

Hello, did you solve your problem?  
I have a similar proble.
