---
description: Simple LanguageAPI documentation for Java developers
---

# For developers

Code example for LanguageAPI usage

{% code title="Language api usage" overflow="wrap" lineNumbers="true" %}
```java
LanguageAPI languageAPI = new LanguageAPI(this);
languageAPI.addLanguage("en_GB");
languageAPI.setActiveLanguage("lang from config");
```
{% endcode %}

Resource file example (preset languages in IDE)

![](https://4132704493-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd8nCQMPdPy7uiPgCET2S%2Fuploads%2FN5r101Ez21hKbM6LXchg%2Fobrazek.png?alt=media\&token=519125a2-95ae-4f3c-a88b-ff2e1cac3af9)
