Stellaris - YML and XML File Converter - designed to convert files between YML and XML formats, as well as create glossaries based on comparing textual data in different languages. It is developed to simplify working with localized files in games or other projects that require structured text data processing.
Since all translation project programs handled YML files poorly but worked excellently with XML, a converter was created to simplify working with these files.System Requirements:- Operating System: Windows (tested on modern versions such as Windows 10/11)
- .NET Framework: 4.7.2
- Memory: Minimum 512 MB RAM required
Features:1.
YML to XML Conversion: - Converts YML files to XML preserving data structure
- Supports empty lines and comments (optional)
- Automatically creates
output_xml folder for results
2.
XML to YML Conversion: - Converts files from XML back to YML
- Takes selected language into account for proper formatting
- Automatically creates
output_yml folder for results
3.
Glossary Creation: - Generates glossaries in .glo (text) and .tmx (XML-based TMX for translation systems) formats
- Compares files in two languages and creates key-value pairs
- Supports language abbreviations (e.g., en-US, ru)
4.
Additional Features: - Settings management via config.txt file (saving selected languages and their indexes)
- Handles special XML characters (e.g.,
) with correct escaping
- Supports non-breaking spaces and other control characters
5.
Interface: - Simple GUI with buttons to select files and start operations
- Ability to select languages for glossaries via dropdown lists
- Option to clean empty lines before conversion
Usage Example:1.
File Conversion: - User selects a
.yml file and clicks
Convert YML to XML. The program creates a
.xml file in the
output_xml folder.
2.
Glossary Creation: - User selects a folder with files in two languages, specifies comparison languages, and starts glossary creation. Results are saved in the
Output_glossary folder.