EDCD / EDMarketConnector

Downloads commodity market and other station data from the game Elite: Dangerous for use with all popular online and offline trading tools.
GNU General Public License v2.0
994 stars 156 forks source link

[Docs] Translations - Call out the "find all translations" script #2087

Closed Athanasius closed 10 months ago

Athanasius commented 1 year ago

https://github.com/EDCD/EDMarketConnector/blob/main/docs/Translations.md#edit-l10nentemplate-to-add-the-phrase was never updated to call out that there's a helper script to forgo the tedious (and error prone, if only in forgetting to do it) editing of L10n/en.template.

The script is https://github.com/EDCD/EDMarketConnector/blob/main/scripts/find_localised_strings.py - it scans all the code for instances of the _(...) calls, and uses the # LANG ... comments that should be associated with them to automatically build a new en.template file.

Rixxan commented 10 months ago

Added a reminder to the in-text docs in the indicated area, will ensure it is even more clear on our upcoming docs review.