SeanPesce / DXMD-Translations

Language translation framework for Deus Ex: Mankind Divided and Deus Ex: Breach
GNU General Public License v2.0
3 stars 1 forks source link

Right-to-left language support #5

Open SeanPesce opened 2 years ago

SeanPesce commented 2 years ago

Unfortunately, right-to-left (RTL) languages such as Arabic and Hebrew won't work with the current implementation, even with a custom font that has all the correct characters. DXMD uses Scaleform for the UI, and Scaleform doesn't fully support these kinds of languages. Scaleform also doesn't support shaping/ligaturing (i.e., making characters "flow into" each other, so to speak).

The documentation indicates that it would be theoretically possible, but the consensus seems to be that it would be a massive undertaking that would require intimate knowledge of text encodings, fonts, and the Scaleform API; I personally have none of these qualifications.

If someone were to find or develop such an extension for Scaleform, I would likely be able to reverse-engineer the code, create a compatible implementation, and inject it into DXMD.