Skip to content

UI: add the Catalan translation - #33

Merged
abalakh merged 1 commit into
spruceUI:masterfrom
GuillemRoca:feat/catalan-translation
Nov 2, 2026
Merged

abalakh merged 1 commit into
spruceUI:masterfrom
GuillemRoca:feat/catalan-translation

Conversation

@GuillemRoca

@GuillemRoca GuillemRoca commented Nov 2, 2026 •

Copy link
Copy Markdown

Hello @abalakh !

Follow-up to abalakh#16: the Catalan translation, now that translations live here. src/cheevos/res/lang/Catalan.json covers all 214 strings, with one/other forms wherever a count needs them.

  • Dates use Catalan month abbreviations ("4 oct. 2026", "22 ag. 2026, 13:42"), numbers "4.210" and "7,4", and percentages a non-breaking space ("77 %"), as Catalan writes them.
  • Sort orders read as orders on their own ("Per títol"), and award filters drop "Guardons" ("D'esdeveniments"), so the options popup's lines fit at 640x480. Settings choices are shortened the same way ("Últims 30 dies", "Del dispositiu i recents").
  • Rarity reads "Desbloquejat: 77 % dels jugadors (49 % en hardcore)", which fits on one line and avoids the article before a number ("el 1 %" should be "l'1 %"). "Membre des de" and "des de {when}" drop it for the same reason.
  • Casual and Hardcore keep RetroAchievements' names, and "WiFi" and "Configuració de spruce" follow Spruce's own Catalan file.

make languages reports 214 of 214 strings translated, and make check passes. Checked with make screens UI_LANGUAGE=Catalan at 640x480, 752x560 and 1280x720, and the popups in CHEEVOS_SIMULATE=showcase.

I haven't tried it on a device yet: the Cheevos my Spruce ships predates language support. If you're OK with it, I'll try it on a real device once a release with translations is out, and follow up with anything that needs a shorter wording.

Screenshots (640x480)

Walk-through:

home games game
achievement profile settings

Popups (achievement options, award filter, game sort, recent games):

popup-achievements popup-award-filter
popup-game-sort popup-recent-games

src/cheevos/res/lang/Catalan.json covers all 214 strings, with
one/other forms wherever a count needs them.

- Dates use Catalan month abbreviations ("4 oct. 2026", "22 ag.
  2026, 13:42"), numbers "4.210" and "7,4", and percentages a
  non-breaking space ("77 %"), as Catalan writes them.
- Sort orders read as orders on their own ("Per títol"), and award
  filters drop "Guardons" ("D'esdeveniments"), so the options
  popup's lines fit at 640x480. Settings choices are shortened the
  same way ("Últims 30 dies", "Del dispositiu i recents").
- Rarity reads "Desbloquejat: 77 % dels jugadors (49 % en
  hardcore)", which fits on one line and avoids the article before
  a number ("el 1 %" should be "l'1 %"). "Membre des de" and "des
  de {when}" drop it for the same reason.
- Casual and Hardcore keep RetroAchievements' names, and "WiFi" and
  "Configuració de spruce" follow Spruce's own Catalan file.

@abalakh abalakh left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contribution!
I'll release a new cheevos version with your changes and you can try it out on the next nightly build (alternatively, you can always just copy files from your branch to sd card, or even try out our desktop runner, it renders accurately).

@abalakh
abalakh merged commit 196447b into spruceUI:master Nov 2, 2026
4 checks passed
@GuillemRoca

Copy link
Copy Markdown
Author

Thanks for accepting the change :) Awaiting to test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants