> For the complete documentation index, see [llms.txt](https://rage-machine.gitbook.io/simple-translation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rage-machine.gitbook.io/simple-translation/advanced-tutorials/create-new-select-language.md).

# Create New Select Language

Class used to create a language selector.

## Importate Methods

🟢 **GetControlValue( )** *<mark style="color:green;">Get the value of the control to set the language.</mark>*

🟢 **SetControlValue(** int **)** *<mark style="color:green;">Set the value of the control using the language value.</mark>*

🟢 **SelectLanguage( )** *<mark style="color:green;">Select the language according to the value in the control.</mark>*

🟢 **SelectLanguage(float)**, **SelectLanguage(int)**, **SelectLanguage(string)**, **SelectLanguage(bool)** *<mark style="color:green;">Select the language according to the value in the control, only used in Selectable UI elements.</mark>*

## Editor Methods

🟢**InspectorEditorTitle( )** *<mark style="color:green;">Define title that will show in the inspector.</mark>*

🟢**InspectorEditorUpdate( )** *<mark style="color:green;">Method that updates only in GUI Inspector Editor.</mark>*

<figure><img src="https://3136359876-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F319Cu9sUdMSlrE0nK9UU%2Fuploads%2FN7e9W9q0xKmcTbIJ2Llf%2FNewSelectLanguage.png?alt=media&amp;token=a33c86c9-b29e-436d-8e70-c3ece9d60e84" alt=""><figcaption></figcaption></figure>

## Tutorial

{% embed url="<https://youtu.be/YQfgalfLoNM?list=PLG0ISHtSe2i1s_VMRagwcwixTJSovyK6-&t=342>" %}
