https://github.com/azhuge233/necessetranslationhelperscript
Necesse Translation Helper Script
https://github.com/azhuge233/necessetranslationhelperscript
necesse powershell powershell-script
Last synced: 12 months ago
JSON representation
Necesse Translation Helper Script
- Host: GitHub
- URL: https://github.com/azhuge233/necessetranslationhelperscript
- Owner: azhuge233
- Created: 2025-03-07T12:45:16.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-03-07T13:11:25.000Z (12 months ago)
- Last Synced: 2025-03-07T14:23:28.476Z (12 months ago)
- Topics: necesse, powershell, powershell-script
- Language: PowerShell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NecesseTranslationHelperScript
Simple PowerShell script to aid [Necesse](https://store.steampowered.com/app/1169040) game translation.
## Usage
In PowerShell, execute
```PowerShell
extract.ps1 \path\to\Necesse\locale
# Processes each {locale}.lang file
# extracts lines starting with "MISSING_TRANSLATE"
# and writes them to
# \path\to\Necesse\locale\missing_translations\{locale}_missing.lang
# when you finished translation
merge.ps1 \path\to\Necesse\locale
# Merges translation lines from
# \path\to\Necesse\locale\missing_translations\{locale}_missing.lang
# into their corresponding source .lang files
```
Although `merge.ps1` creates backup file (`xxx.lang.bak`) by default, it's strongly recommended to manually copying your .lang files to a separate directory before running the script as an extra precaution.