MarkAusten / TDHelper

GUI for Trade Dangerous and EDDBlink
MIT License
7 stars 4 forks source link

Translation opportunities #42

Closed John2022 closed 6 years ago

John2022 commented 6 years ago

Hello,

Would it be possible to add a way to translate the application in future versions please? (without forgetting to adapt the size of the gaps so that the words appear entirely)

I was looking for plain txt or xml file to make some changes myself but without success. :)

MarkAusten commented 6 years ago

Making TD Helper multi-lingual is a massive task mainly because it was designed to be in English only. Having said that, this is the first application I have worked on in more than 8 years that is not multi-lingual so I have a very good idea of what is required, but the second problem is that retro-fitting multi-lingual capabilities into an existing application is not that easy. All of the multi-lingual applications I have written to date were designed to be multi-lingual from the start.

Still, it is something that I have been thinking about for future versions but in order for this to work, I will need your assistance and the help of other commanders that speak languages other than English. Without this help it is not worth starting.

Also Trade Dangerous is English only so it would make sense that if TDH2 were made multi-lingual then the output from TD should be multi-lingual as well.

John2022 commented 6 years ago

I understand. It's tooltips (really appreciated) which make me think about this. In french, hops & Jumps are the exact same word (Sauts), but hops can be considered as a stopover while jumps as a "superluminal jumpjump".

Btw, thanks a lot to code this, it's really helpfull; no doubt ou even know that :).

Last question, where can we find the item/commodities listing that is accepted by TD? "Basic Medicines" return unrecognized arguments error: ERROR: unrecognized arguments: Medicines

MarkAusten commented 6 years ago

Questions about Trade Dangerous should be posted on the https://github.com/eyeonus/Trade-Dangerous project as I do not maintain that. The commodities are found in tradedangerous/data/item.csv file.

If you are getting the error you specifically then you probably need to ensure that "Basic Medicines" is surrounded by quotes. The error is saying that "Medicines" cannot be found and not "Basic Medicines" and this is usually caused by missing quotes.

TD Helper should do this automatically for you.

MarkAusten commented 6 years ago

Tooltip translations have been added for version v2.0.8.5 but you will have to add your own translations to the British english ones I have supplied. See the forum post for further details: https://forums.frontier.co.uk/showthread.php/441509-Trade-Dangerous-(Est-2015)-Power-user-s-highly-configurable-trade-optimizer?p=7046467&viewfull=1#post7046467