bruvzg / gdsdecomp

Godot reverse engineering tools
MIT License
1.36k stars 137 forks source link

Translation CSV export #89

Closed nikitalita closed 1 year ago

nikitalita commented 1 year ago

This is currently of limited use, because the original keys are not able to be recovered from the translation files, and we have to guess what the keys are (often wrongly). If we can't recover some of the original keys, we save the translation.csv under .assets.

Fixes #88

sairam4123 commented 1 year ago

Why is it not possible to retrieve the keys from the translation.csv?

nikitalita commented 1 year ago

When you import a translation CSV, it gets stored as OptimizedTranslation files that only store the hashes of the keys, rather than the keys themselves. It's not possible to recover the keys from the hashes, and we can't programatically get them from project resources since they can be any string value and stored in anything.