---
title: "Globalization service methods"
slug: "globalization-service-methods"
abstract: ""
---
# Globalization service methods

Service providers are wrapper objects designed to make it easier to interact with Connect pipelines. The providers implement no logic other than calling Connect pipelines. All of the business logic is implemented in the pipeline processors.

The Globalization service provider contains the following methods raising globalization related events.

<details>
<summary><h2>CultureChosen method</h2></summary>

| **Description:** | Raises the Culture Chosen page event. |  |
| --- | --- | --- |
| **Usage:** | Called when Sitecore needs to raise the Culture Chosen event. |  |
| **Signature:** | `GlobalizationResult CultureChosen(CultureChosenRequest request)` |  |
| **Parameters:** |  |  |
|  | **ShopName – Mandatory**<br><br>The name of the shop. |  |
|  | **Culture** **– Mandatory**<br><br>The chosen culture code. |  |
| **Returns:** |  |  |
|  | **SystemMessages -** Collection of messages from the external system. |  |
| **Exceptions:** |  |  |
|  | No exceptions are thrown by this method. |  |

Usage example:

```csharp
var provider = (GlobalizationServiceProvider)Factory.CreateObject("globalizationServiceProvider", true);
var request = new CultureChosenRequest("StarterKit", "en-US");
var result = provider.CultureChosen(request);
if (!result.Success)
{
    // handle error.
}

```

</details>