https://github.com/liraymond04/re0-translations
Repository for translations of content from Re:Zero, like side stories
https://github.com/liraymond04/re0-translations
omegat re0 rezero translation
Last synced: 3 months ago
JSON representation
Repository for translations of content from Re:Zero, like side stories
- Host: GitHub
- URL: https://github.com/liraymond04/re0-translations
- Owner: liraymond04
- License: gpl-3.0
- Created: 2024-11-30T00:25:37.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-02-14T14:52:04.000Z (4 months ago)
- Last Synced: 2025-03-19T21:59:19.863Z (3 months ago)
- Topics: omegat, re0, rezero, translation
- Language: Python
- Homepage:
- Size: 12.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# re0_translations
Repository for translations of content from [Re:Zero](https://en.wikipedia.org/wiki/Re:Zero), like side stories
Project files use the [OmegaT](https://omegat.org/) CAT for translation and translation memory
It's recommended to use [my fork of OmegaT](https://github.com/liraymond04/omegat), as it includes fixes for storing and using multiple reference language TMX files in a central translation memory folder
The dictionary used is the [CC-CEDICT](https://www.mdbg.net/chinese/dictionary?page=cedict) Chinese-English dictionary, and a conversion to the [Stardict format](https://simonwiles.net/projects/cc-cedict/) for use in OmegaT
## Converting docx to markdown
The `scripts` directory contains a [Python](https://www.python.org/) script that searches for OmegaT projects that contain translated documents in their `target` directories
OmegaT projects contain an `omegat.project` file in its directory, and translated documents are converted using [Pandoc](https://pandoc.org/), and its relative path in the project root is mirrored and outputted to a specified output directory
### Requirements
Install [pandoc](https://github.com/jgm/pandoc) and Python via your system's respective package manager
```bash
# Arch Linux
$: sudo pacman -S --needed pandoc python
```### Usage
An example usage of the conversion script to search the current project for document files to convert to markdown and save to the `posts` directory
```bash
python scripts/convert.py ./ posts/ --lua-filter filters/docx-to-md.lua
```