Closed msikma closed 3 years ago
Some people type a name like アーボ as "a-bo" rather than "aabo". If needed, the slugs can be modified with a regex like:
'aabo'.replace(/(aa|ii|uu|ee|oo)/g, v => `${v.slice(0, 1)}-`) // returns 'a-bo'
This has been merged now, albeit slightly different than the format from the first post. Now long vowel markers are represented as dashes. The documentation has been updated too.
As mentioned in #85, it's useful to have Hepburn romaji versions of the Pokémon names since the GF official romaji names aren't well known and are not useful for searching.
The following format will be used:
So in other words,
slug.jpn
will now contain a Hepburn romanization (traditional since macrons are hard to type).