# Improve documentation

Thank you for your interest in contributing to Fabula! 💙

---

Before improving the documentation be sure that you check the following:

- [X] Make sure that you are updating the documentation on the correct language
- [X] Double check your changes

---

## Documentation structure

- /pages - `Documentation related to all pages`
- /pages/components - `Documentation related to components`
- /pages/getting-started - `Documentation related to Getting Started section`
- /pages/grid - `Documentation related to Grid section`
- /pages/helpers - `Documentation related to Helpers section`
- /pages/responsiveness - `Documentation related to Responsiveness section`
- /pages/utilities - `Documentation related to Utilities section`
- /pages/variables - `Documentation related to Variables section`

- /ui - `Documentation related to small UI bits`
- /ui/{language}/categories.yaml - `Categories translation`
- /ui/{language}/dictionary.yaml - `Text bits translation`

## Translating Fabula

To create a new translation, you need to follow the current structure that is used on the documentation's folders.

### On /pages

If you navigate inside `pages` folder, you will find folders for each language present on Fabula right now. Inside this language folder are the same files, translated to that language.
Create a new folder with the new language initials and copy the files from an existing language, so you are ready to start the translation.

### On /ui

Differently from `pages` folder, if you open the `ui` folder you will find the language folders with two files each: `categories.yaml` and `dictionary.yaml`. Create a new folder with the new language initials and copy both files to it to start the translation.
