ItsSim / fsolauncher

Official FreeSO Launcher made with Electron

Home Page:https://beta.freeso.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Externalize language packs

ItsSim opened this issue · comments

commented

In a similar fashion to remeshes, externalize language packs and have them be part of the build and release process.

Should create a new node.js module in ./extras/fsolauncher-game-translations

Language packs should be present in a ./extras/fsolauncher-game-translations/translations folder, and built and added to the release artifacts via our current GitHub Actions workflow.

Resulting files should be:

  • 1x zip file per language (current language pack structure includes a FSO and TSO folder - FSO is extracted to the FreeSO folder, and TSO to The Sims Online folder), named for example: translation-en.zip, translation-es.zip, etc...)
  • a .json manifest file, defining the available languages

The launcher will then be modified to read the manifest upon first run, and display the available languages in the language selector in the settings tab.

If the user changes the language, the corresponding language zip will be downloaded (if not done before) from the latest GitHub release and extracted in that moment.