Skip to content

Spanish from Spain first, the web game first, and the language follows the device

Context and problem

The first people to play Homefelt in another language are Eduardo’s Spanish-speaking family (#138). Spanish differs by region (tú, vos or ustedes; pozo or montón), Canasta’s own vocabulary differs between families, and the game runs on the web, iPhone and Android, which can’t all change at once.

Options considered

  • Which Spanish: one neutral Spanish; Spain (es-ES); Río de la Plata (vos); Mexico and Latin America.
  • Which Canasta words: Eduardo supplies his family’s terms up front, or Claude researches the most common terms in Spain and Eduardo reviews them.
  • What ships first: the web game alone; the web game and both apps together; the web game and the marketing site.
  • How the language is chosen: the device or browser language with a per-device switch, or the same plus saving the choice to the online account.

Decision

  • Spanish from Spain: the one es catalog uses tú and vosotros and Spain’s vocabulary. This replaces the plan’s first idea of a neutral Spanish.
  • A glossary first. docs/glossary-es.md proposes the most common Spanish (Spain) Canasta terms, with alternatives and sources, and Eduardo picks the words his family uses before the translation starts (#140, #142).
  • The web game first (play.homefelt.io), because the family can play from a link with nothing to install. Then the iPhone app, the Android app, the marketing site (/es/) and the store listings, in that order.
  • The language follows the device or browser language, and each device can change it: on the web a Language switch next to Display, saved in homefelt.settings.language; on Android an in-app picker; on iPhone the app’s page in iOS Settings. It doesn’t follow the online account, so the server doesn’t change (the plan’s users.locale column waits until email or push need it).

Consequences

  • Good: the family gets a link to share soon, before any app work.
  • Good: the words on screen are the ones the family already uses at the table.
  • Bad: players in Latin America see Spain’s Spanish until a regional variant exists. The catalog allows sparse regional overrides later (docs/plans/i18n.md).
  • Bad: someone who changes the language on one device has to change it again on another.
  • Bad: for a while the web game speaks Spanish and the apps don’t.

More information