# Language Configuration

Details on how to upgrade an existing language configuration from the old file format to the new file format can be found in the article [Language Configuration - Upgrading](/inriver-translation-connector/language-configuration-upgrading.md).

## Language Configuration

Lionbridge and inRiver uses different language codes for each of their languages, and therefor a language configuration file needs to be set up.

The language configuration is part of an xml file that will be used as a setting for the Outbound Connector, if you're running inRiver 6.3, or the Extensions if you are using inRiver PMC.

### Example:

I want to translate English (Great Britain) into Swedish and Norwegian.

Considering that scenario, here is a possible language configuration file

```
<Languages>
    <Language key="engb" lionbridgeCode="en-gb" inRiverCode="en" />
    <Language key="svSE" lionbridgeCode="sv-SE" inRiverCode="sv" />
    <Language key="nbNO" lionbridgeCode="nb-NO" inRiverCode="no" />
</Languages>
```

The only information we need to know about is the "key", "lionbridgeCode" and "inRiverCode" attribute for each language.

* key - The CVL value key that also needs to be defined in the source/target language CVL, this is how we locale the language configuration.
* lionbridgeCode - The language code used by Lionbridge
* inRiverCode - The language code used by inRiver

An example of how the source and target language CVL's might look like:

### Source Language

| Key  | Value   |
| ---- | ------- |
| engb | English |

### Target Languages

| Key  | Value              |
| ---- | ------------------ |
| svSE | Swedish            |
| nbNO | Norwegian (Bokmål) |


---

# 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://lionbridge.gitbook.io/inriver-translation-connector/language-configuration.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.
