# Set Culture Info

This method is used to configure the culture (language and region) settings the robot will run with.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `CultureInfo` | `String` | ❌No      | Culture code (e.g. "tr-TR") |
| `DecimalSeparator` | `String` | ❌No      | Decimal separator (e.g. ",") |
| `ShortDatePattern` | `String` | ❌No      | Short date format (e.g. "dd.MM.yyyy") |


---

### 🎯 Purpose

* Ensure that date, time and number formats are processed correctly
* Prevent data errors caused by regional differences
* Ensure that processes run consistently in different country and language environments


---

### ⚙️ How It Works

* When the method is called, the robot's current culture setting is updated
* This setting has a direct effect on:
  * Date formats
  * Time formats
  * Number and currency formats  
    used throughout the process


---

### 📥 Input Parameters

#### 🔹 Culture Name

The culture information to be set.

Example:

* `tr-TR` → Turkish (Türkiye)
* `en-US` → English (USA)
* `de-DE` → German (Germany)


---

### 📌 Features

* Applied so that it is valid throughout the entire process
* Plays a critical role in data conversions (parse/format)
* Required especially in projects working with multiple countries/regions


---

### ⚠️ Important Notes

* Wrong culture selection may cause data errors  
  (E.g.: 01/02/2025 → February 1 or January 2?)
* The dot/comma distinction may differ in number formats
* Setting it at the beginning of the process is recommended


---

### 💡 Usage Scenarios

* International data processing processes
* Reporting in different regional formats
* Format compatibility in API and database integrations


---

### 🔁 Example

* In the `en-US` culture: **1,234.56**
* In the `tr-TR` culture: **1.234,56**


---

### 💡 Summary

The Set Culture Info method keeps the robot's regional behavior under control, ensuring data consistency and enabling the development of automation compatible with different locations.