# xneelo Companion Languages
This folder contains the language files for the xneelo Companion app. Each language has its own file. These `.mo` files are based on the `.po` files, which are used for translations.
# Adding a new language
To add a new language, follow these steps:
1. Update the `.pot` file with the new strings.
```composer document```
2. Create a new `.po` file for the language. You can use a tool like Poedit to create the `.po` file.
3. Translate the strings in the `.po` file.
4. Compile the `.po` file to a `.mo` file using Poedit or a similar tool.
5. Place the `.mo` file in this directory.

# Updating an existing language
To update an existing language, follow these steps:
1. Update the `.pot` file with the new strings.
```composer document```
2. Open the existing `.po` file for the language.
3. Update the translations for the new strings.
4. Compile the updated `.po` file to a `.mo` file using Poedit or a similar tool.
5. Replace the existing `.mo` file in this directory with the updated one.

# Removing a language
To remove a language, simply delete the corresponding `.mo` file from this directory. Make sure to also remove any references to the language in the application code if necessary.
# Notes
- The `.mo` files are binary files that are used by the application for translations. They should not be edited directly.
- The `.po` files are text files that contain the translations and can be edited with a text editor or a translation tool like Poedit.
- Make sure to keep the `.pot` file updated with all the strings used in the application. This will help in maintaining the translations and adding new languages in the future.
