Page 1 of 1
locale for info.json description ?
Posted: Mon Sep 05, 2016 3:24 pm
by binbinhfr
Hi,
as I noticed that some players do not speak english at all,
it would be nice to extend locale logic to info.json description, so that players could browse mods ingame in their own langage if available.
there would still be a default "description" field in english, and then maybe optional "description.fr", "description.ru", etc...
Re: locale for info.json description ?
Posted: Mon Sep 05, 2016 3:31 pm
by aubergine18
Would it be better to have a section in the existing locale files, something like:
Code: Select all
[__mod_name__]
name = Name of the mod
description = Longer description of the mod \n can have multiple lines
The mod portal could later be tweaked to use name/description from locale files if found (and eventually provide ability for users to choose language for the mod portal), otherwise fallback to the info.json
The main thing is to get the stuff moving in to locale files as soon as possible so that when the mod portal is eventually updated (and also the in-game mod library) there are a large number of mods already using the localisable name/description.
Re: locale for info.json description ?
Posted: Mon Sep 05, 2016 4:24 pm
by binbinhfr
aubergine18 wrote:Would it be better to have a section in the existing locale files
probably, but for modders that do not use locale at all (a lot of mods do not have locale files), it would be more simple in the info.json.
probably also more simple to handle by the mod portal that seems to already read the info.json file .
Re: locale for info.json description ?
Posted: Mon Sep 05, 2016 4:25 pm
by aubergine18
IMO it would be better to have mods use locale files - keep everything consistent.