ygojson / ygojson-tools

Tooling for the ygojson project
MIT License
1 stars 0 forks source link

Redesign models/entitites for localization #172

Open magicDGS opened 1 month ago

magicDGS commented 1 month ago

At least for the sets, there are currently some concepts that are mixed together in the models and entities:

We must either separate this 2 concepts to have proper localization format that is able to provide a good usage for:

The problen with the region data is that it is difficult to consolidate to be able to identify the language that the region belongs to, unless the mapping is clear between the key and the language the region belongs to. An example for the mess is the Legend of Blue Eyes White Dragon, where:

magicDGS commented 1 month ago

Some approach could be:

  1. Following a similar approach as the Konami DB, separating the TCG/OCG regions (will fix at the same time #113), and within each region have both translations and region data.
  2. Following a similar approach as yugipedia, separating translations (i.e., names) from set-information region data (which uses the prefix for the different regions as appearing on the prints.
  3. Hybrid approach, where the separation between TGC/OCG regions is created, but keeping outside the translations.