# Перевод типов заявок

Для того, чтобы заполнить перевод типов заявок, нужно перейти в **раздел "Типы заявок" блока "Настройки приложения"** в ЛК Сотрудника.

Далее выбрать необходимый тип заявки.\
Типов заявок может быть любое количество, их настройки переводов в большинстве случаев повторяются.

*Настройка представлена для типа заявки **"Командировка" (перевод на английский язык)**.*

**Установить перевод наименования**\
1\. Открыть тип заявки "Командировка",\
2\. Перейти во вкладку "En",

3\. Внести английский перевод в поля "Наименование" и "Представление полное",\
4\. Нажать на кнопку "Записать".

**Установить переводы в шаблон заявки**\
1\. Перейти во вкладку "Шаблоны" во вкладке "Настройки front-end";

2\. Внести следующие правки в JSON, там где представление на русском языке, добавить перевод английского или любого другого языка, который настроен для ЛК Сотрудника.

Формат представления мультиязычности: "ru='Русский текст';en='Английский текст'"

\[ {\
"type": "datepicker",\
"formControlName": "dateBegin",\ <mark style="color:orange;">"label": "ru='Дата начала командировки';en='First day'",</mark>\
"gridClasses": \["col-md-12"],\
"validations": \["required"],\ <mark style="color:orange;">"errorMessage": "ru='Поле не заполнено';en='The field is not filled'",</mark>\
"disabled": false,\
"edited": true,\
"mask": "ru='11.22.3333';en='22/11/3333'",\
"startDateMathDay": 1,\
"validations": \[]\
},

{\
"type": "select",\
"formControlName": "payType1",\
"label": "ru='Вид компенсации';en='Compensation type'",\
"placeholder": "ru='Выберите вид оплаты за работу в выходной день';en='Select the type of payment for work on a weekend'",\
"gridClasses": \["col-sm-12", "col-md-6"],\
"errorMessage": "ru='Поле не заполнено';en='The field is not filled'",\
"optionList": \[],\
"optionListRequestAlias": "weekendCompensation",\
"disabled": false,\
"edited": true,\
"validations": \[]\
},\
{\
"type": "datepicker",\
"formControlName": "dayOff1",\
"label": "ru='Дата отгула';en='Leave date'",\
"gridClasses": \["col-sm-12", "col-md-6"],\
"errorMessage": "ru='Поле не заполнено';en='The field is not filled'",\
"disabled": false,\
"edited": true,\
"mask": "ru='11.22.3333';en='22/11/3333'",\
"validations": \[]\
},\
{\
"type": "datepicker",\
"formControlName": "dateEnd",\
"label": "ru='Дата окончания командировки';en='Last Day'",\
"gridClasses": \["col-md-12"],\
"validations": \["required"],\
"errorMessage": "ru='Поле не заполнено';en='The field is not filled'",\
"disabled": false,\
"edited": true\
},\
{\
"type": "select",\
"formControlName": "payType2",\
"label": "ru='Вид компенсации';en='Compensation type'",\
"placeholder": "ru='Выберите вид оплаты за работу в выходной день';en='Select the type of payment for work on a weekend'",\
"gridClasses": \["col-sm-12", "col-md-6"],\
"errorMessage": "ru='Поле не заполнено';en='The field is not filled'",\
"optionList": \[],\
"optionListRequestAlias": "weekendCompensation",\
"disabled": false,\
"edited": true,\
"validations": \[]\
},\
{\
"type": "datepicker",\
"formControlName": "dayOff2",\
"label": "ru='Дата отгула';en='Leave date'",\
"gridClasses": \["col-sm-12", "col-md-6"],\
"errorMessage": "ru='Поле не заполнено';en='The field is not filled'",\
"disabled": false,\
"edited": true,\
"mask": "ru='11.22.3333';en='22/11/3333'",\
"validations": \[]\
},\
{\
"type": "text",\
"formControlName": "stateCity",\
"label": "ru='Страна, город';en='Country, City'",\
"gridClasses": \["col-md-12"],\
"validations": \["required"],\
"errorMessage": "ru='Поле не заполнено';en='The field is not filled'",\
"disabled": false,\
"edited": true\
},\
{\
"type": "select",\
"formControlName": "purpose",\
"label": "ru='Цель';en='Purpose'",\
"placeholder": "ru='Выберите цель вашей командировки';en='Select a purpose'",\
"gridClasses": \["col-md-12"],\
"errorMessage": "ru='Поле не заполнено';en='The field is not filled'",\
"optionListRequestAlias": "purpose",\
"disabled": false,\
"edited": true,\
"validations": \[]\
},

{\
"type": "text",\
"formControlName": "purposeOther",\
"label": "ru='Цель командировки (свой вариант)';en='Select a purpose'",\
"gridClasses": \["col-md-12"],\
"errorMessage": "ru='Поле не заполнено';en='The field is not filled'",\
"disabled": false,\
"edited": true,\
"validations": \[]\
},\
{\
"type": "text",\
"formControlName": "organization",\
"label": "ru='Организация';en='Organization'",\
"placeholder": "ru='Введите название организации';en='Enter the name of the organization'",\
"gridClasses": \["col-md-12"],\
"disabled": false,\
"edited": true,\
"validations": \[]\
},\
{\
"type": "file-multi",\
"formControlName": "files",\
"label": "ru='Подтверждение руководителя';en='Confirmation of the supervisor'",\
"gridClasses": \["col-md-12"],\
"disabled": false,\
"edited": true,\
"validations": \["required"]\
},

{\
"type": "select",\
"formControlName": "expenses",\
"optionListRequestAlias": "expenses",\
"label": "ru='За счет средств';en='Specify the organization that pays'",\
"placeholder": "ru='Выберите организацию';en='Choose an organization'",\
"gridClasses": \["col-md-12"],\
"disabled": false,\
"edited": true,\
},\
{\
"type": "select",\
"formControlName": "basis",\
"label": "ru='Основание';en='Reason'",\
"placeholder": "ru='Выберите основание вашей командировки';en='Select the reason'",\
"gridClasses": \["col-md-12"],\
"errorMessage": "ru='Поле не заполнено';en='The field is not filled'",\
"optionListRequestAlias": "basis",\
"disabled": false,\
"edited": true,\
"validations": \[]\
},

{\
"type": "text",\
"formControlName": "basisOther",\
"label": "ru='Основание командировки (свой вариант)';en='Reason'",\
"gridClasses": \["col-md-12"],\
"errorMessage": "ru='Поле не заполнено';en='The field is not filled'",\
"disabled": false,\
"edited": true,\
"validations": \[]\
},\
{\
"type": "textarea",\
"formControlName": "message",\
"label": "ru='Комментарий';en='Comments'",\
"gridClasses": \["col-md-12"],\
"validations": \[],\
"errorMessage": "ru='Поле не заполнено';en='The field is not filled'",\
"disabled": false,\
"edited": true\
}\
]

\
3\. Нажать на кнопку "Записать" или "Записать и закрыть".


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://padocs.empldocs.app/dlya-razrabotchikov/nastroiki-lks/nastroika-multiyazychnoi-versii-i-perevodov-lks/perevody/perevod-tipov-zayavok.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
