babysmash icon indicating copy to clipboard operation
babysmash copied to clipboard

Support for pt-PT (Portuguese language, Portugal country "variation")

Open HelderMagalhaes opened this issue 1 year ago • 0 comments

This is part 1 of PR, including string resources for translation of shapes and colors

To whoever doesn't want to wait for next release or manually build the project:

  1. Within your BabySmash directory (or next to BabySmash.exe if you're using the single file archive), create a Resources\Strings (note: two folders, nested)
  2. Download pt-PT.json (included in this PR) inside Strings folder

A related glitch was identified, in PlaySound, where the reading is hard-coded to <color> <shape> order; in Portuguese, that will by default be the reverse <shape> <color>; guessing that a parameter stating the order will be enough, possibly as part of string resources — Question: Is there any known language that is dynamic regarding the shape-color ordering? A follow-up might be added to this PR ("part 2") or as separate PR if this is reviewed/merged in the meantime.

HelderMagalhaes avatar Jun 13 '23 23:06 HelderMagalhaes