---
title: Add a target language to your library
description: How to add target languages after a library is created.
---

[Skip to content](https://knowledge.easytranslate.com/add-target-language-to-library#main-content)

English

Show submenu for translations

[Need help?](https://knowledge.easytranslate.com/kb-tickets/new?hsLang=en)

![logo\_blue (1).png\]](https://knowledge.easytranslate.com/hs-fs/hubfs/logo_blue%20(1).png?height=30&name=logo_blue%20(1).png)

- [Default HubSpot Blog](http://blogs.worldtranslation.com/)

Open main navigation

Close main navigation

- [Default HubSpot Blog](http://blogs.worldtranslation.com/)
- English
  
  Show submenu for translations
- [Need help?](https://knowledge.easytranslate.com/kb-tickets/new)
- Go to easytranslate.com

 Go to easytranslate.com

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://knowledge.easytranslate.com/?hsLang=en)
2. [EasyTranslate API](https://knowledge.easytranslate.com/easytranslate-api?hsLang=en)
3. [String Library](https://knowledge.easytranslate.com/easytranslate-api?hsLang=en#string-library)

# Add a target language to your library

## How to add target languages after a library is created.

**Endpoint** 

```
https://api.platform.easytranslate.com/strings-library/api/v1/teams/:team-name/libraries/:library-id/languages
```

In order to add target languages to your library, you need to send a **PUT** request. 

 

You need to use your authorisation Bearer token to be able to send the request.  Simply add token as an attribute to the authorisation section of your request and your access token as its value.

 

Then, you need to add the following variables' values to your endpoint path:

- - **team\_name:**{{TEAM\_NAME}}  
      Instead of {{TEAM\_NAME}}, you need to provide the team\_name of your team. It can be retrieved from the api/v1/user endpoint.
    - **library-id**: {{LIBRARY\_ID}}
      
      Instead of {{LIBRARY\_ID}}, you need to provide the library\_id of the library you wish to update by adding a new language.

 Finally, you need to pass the following data in the body of your request:

```
{    "data" : {        "type": "library-language",        "attributes": {            "target_languages": ["sw"]        }    }}
```

- - **Type**: The type's value here needs to be "library-language"
    - **Target\_languages**: The target language value should be the language code of the target language(s) you wish to add to your library. You can find below all the target language's options you have:

| **Language** | **Code** |
| --- | --- |
| Afar | aa |
| Afrikaans | af |
| Albanian | sq |
| Amharic | am |
| Arabic | ar |
| Arabic (Egypt) | ar\_EG |
| Arabic (Morocco) | ar\_MA |
| Arabic (Syria) | ar\_SY |
| Arabic (Sudan) | ar\_SD |
| Arabic (Saudi Arabia) | ar\_SA |
| Armenian | hy |
| Azerbaijani | az |
| Bambara | bm |
| Basque | eu |
| Belarusian | be |
| Bengali | bn |
| Blin (Bilin) | byn |
| Bosnian | bs |
| Bulgarian | bg |
| Burmese | my |
| Catalan | ca |
| Chechen | ce |
| Chinese (Simplified) | zh\_CN |
| Chinese (Traditional) | zh\_HK |
| Croatian | hr |
| Czech | cs |
| Danish | da |
| Dari | prs |
| Dhivehi | dv\_MV |
| Dutch (Belgium) | nl\_BE |
| Dutch (Standard) | nl\_NL |
| Dzongkha | dz |
| English (Australia) | en\_AU |
| English (India) | en\_IN |
| English (United Kingdom) | en\_GB |
| English (United States) | en\_US |
| English (South Africa) | en\_ZA |
| Esperanto | eo |
| Estonian | et |
| Faeroese | fo |
| Farsi | fa |
| Filipino | fil |
| Finnish | fi |
| French (Standard) | fr\_FR |
| French (Belgium) | fr\_BE |
| French (Canada) | fr\_CA |
| French (Switzerland) | fr\_CH |
| Frisian | fy |
| Fula | ff |
| Galician | gl |
| Georgian | ka |
| German | de |
| Greek | el |
| Greenlandic | kl |
| Gujarati | gu |
| Hausa | ha |
| Hebrew | he |
| Hindi | hi |
| Hungarian | hu |
| Haitian Creole | ht |
| Icelandic | is |
| Igbo | ig |
| Indonesian | id |
| Inuktitut | iu |
| Italian (Standard) | it\_IT |
| Italian (Switzerland) | it\_CH |
| Irish | ga |
| Japanese | ja |
| Javanese | jv |
| Kannada | kn |
| Kazakh | kk |
| Khmer | km |
| Kinyarwanda | rw |
| Kirundi | rn |
| Korean | ko |
| Krio | kri |
| Kurmanji (Syria) | kmr\_SY |
| Kurmanji (Turkey) | kmr\_TR |
| Kyrgyz | kz |
| Lao | lo |
| Latin | la |
| Latvian | lv |
| Lingala | ln |
| Lithuanian | lt |
| Luxembourgish | lb |
| Macedonian | mk |
| Malagasy | mg |
| Malay | ms |
| Malayalam | ml |
| Maltese | mt |
| Mandingo (Mandinka) | man |
| Marathi | mr |
| Moldovian | ro\_MD |
| Mongolian | mn\_MN |
| Nepali | ne\_NP |
| Norwegian (Bokmål) | nb\_NO |
| Norwegian (Nynorsk) | nn\_NO |
| Oromo | om |
| Pashto | ps |
| Persian (Farsi) | fa\_IR |
| Polish | pl |
| Portuguese (Brazil) | pt\_BR |
| Portuguese (European) | pt\_PT |
| Punjabi | pa |
| Romanian | ro\_RO |
| Romansh (Switzerland) | rm\_CH |
| Romani | rom |
| Russian | ru |
| Sami | se\_FI |
| Serbian (Cyrillic, Serbia) | sr\_cyrl\_RS |
| Serbian (Latin, Serbia) | sr\_latn\_RS |
| Serbian (Cyrillic, Montenegro) | sr\_cyrl\_ME |
| Serbian (Latin, Montenegro) | sr\_latn\_ME |
| Sinhalese | si\_LK |
| Slovak | sk |
| Slovenian | sl |
| Somali | so |
| Sorani | ckb |
| Sotho | st |
| Spanish (European) | es\_ES |
| Spanish (Latin America) | es\_419 |
| Spanish (Mexico) | es\_MX |
| Swahili | sw |
| Swedish | sv |
| Tagalog | tl |
| Tamil | ta |
| Telugu | te |
| Tajik | tg |
| Thai | th |
| Tibetan | bo |
| Tigre | tig |
| Tigrinya | ti |
| Traditional Chinese (Taiwan) | zh\_TW |
| Turkish | tr |
| Turkmen | tk |
| Twi | tw |
| Ukrainian | uk |
| Urdu | ur |
| Uyghur | ug |
| Uzbek | uz |
| Vietnamese | vi |
| Welsh | cy |
| Wolof | wo |
| Xhosa | xh |
| Yiddish | yi |
| Yoruba | yo |
| Zulu | zu |

 

**Request example**

```
curl --location -g --request PUT 'https://api.platform.easytranslate.com/strings-library/api/v1/teams/{{TEAM_NAME}}/libraries/{{LIBRARY_ID}}/languages' \--data-raw '{    "data" : {        "type": "library-language",        "attributes": {            "target_languages": ["sw"]        }    }}'
```

- [Get Started](https://knowledge.easytranslate.com/get-started?hsLang=en)
- [My Account](https://knowledge.easytranslate.com/my-account?hsLang=en#main-content)

    - [Billing and Payment](https://knowledge.easytranslate.com/my-account?hsLang=en#billing-and-payment)
    - [Teams and Users](https://knowledge.easytranslate.com/my-account?hsLang=en#teams-and-users)
    - [Account](https://knowledge.easytranslate.com/my-account?hsLang=en#account)
- [The Platform](https://knowledge.easytranslate.com/the-platform?hsLang=en#main-content)

    - [Workspace](https://knowledge.easytranslate.com/the-platform?hsLang=en#workspace)
    - [Freelancers](https://knowledge.easytranslate.com/the-platform?hsLang=en#freelancers)
    - [Tools](https://knowledge.easytranslate.com/the-platform?hsLang=en#tools)
- [Integrations](https://knowledge.easytranslate.com/integrations?hsLang=en#main-content)

    - [Zapier](https://knowledge.easytranslate.com/integrations?hsLang=en#zapier)
    - [GitHub](https://knowledge.easytranslate.com/integrations?hsLang=en#github)
    - [Magento 1.0](https://knowledge.easytranslate.com/integrations?hsLang=en#magento-1-0)
    - [Magento 2.0](https://knowledge.easytranslate.com/integrations?hsLang=en#magento-2-0)
    - [WordPress](https://knowledge.easytranslate.com/integrations?hsLang=en#wordpress)
    - [Shopify](https://knowledge.easytranslate.com/integrations?hsLang=en#shopify)
    - [Shopware](https://knowledge.easytranslate.com/integrations?hsLang=en#shopware)
    - [Shopware 6](https://knowledge.easytranslate.com/integrations?hsLang=en#shopware-6)
    - [Optimizely / Episerver App](https://knowledge.easytranslate.com/integrations?hsLang=en#optimizely-episerver-app)
    - [Contentful](https://knowledge.easytranslate.com/integrations?hsLang=en#contentful)
    - [Figma](https://knowledge.easytranslate.com/integrations?hsLang=en#figma)
    - [Phrase](https://knowledge.easytranslate.com/integrations?hsLang=en#phrase)
- [EasyTranslate API](https://knowledge.easytranslate.com/easytranslate-api?hsLang=en#main-content)

    - [Projects](https://knowledge.easytranslate.com/easytranslate-api?hsLang=en#projects)
    - [Authentication](https://knowledge.easytranslate.com/easytranslate-api?hsLang=en#authentication)
    - [Project tasks](https://knowledge.easytranslate.com/easytranslate-api?hsLang=en#project-tasks)
    - [Folders](https://knowledge.easytranslate.com/easytranslate-api?hsLang=en#folders)
    - [Account](https://knowledge.easytranslate.com/easytranslate-api?hsLang=en#account)
    - [Team](https://knowledge.easytranslate.com/easytranslate-api?hsLang=en#team)
    - [String Library](https://knowledge.easytranslate.com/easytranslate-api?hsLang=en#string-library)
- [For Freelancers](https://knowledge.easytranslate.com/for-freelancers?hsLang=en#main-content)

    - [Freelancer Software Platform Account](https://knowledge.easytranslate.com/for-freelancers?hsLang=en#freelancer-software-platform-account)
    - [Tools on the Software Platform](https://knowledge.easytranslate.com/for-freelancers?hsLang=en#tools-on-the-software-platform)
    - [Freelancer Onboarding to Software Platform](https://knowledge.easytranslate.com/for-freelancers?hsLang=en#freelancer-onboarding-to-software-platform)
    - [Plunet](https://knowledge.easytranslate.com/for-freelancers?hsLang=en#plunet)
    - [General information](https://knowledge.easytranslate.com/for-freelancers?hsLang=en#general-information)

- [Default HubSpot Blog](http://blogs.worldtranslation.com/)

[![Chill listening crop-3](https://knowledge.easytranslate.com/hs-fs/hubfs/logo_blue%20(1).png?width=119&height=28&name=logo_blue%20(1).png "Chill listening crop-3")](https://www.easytranslate.com/en/)

EasyTranslate Knowledge Base

Copyright © 2026, EasyTranslate A/S