Add Spanish translations for categories, sectors, and workshop titles#1359
Open
Add Spanish translations for categories, sectors, and workshop titles#1359
Conversation
… workshop titles Support name_spanish on categories, sectors, and category_types so tags display translated names when viewing the workshop Spanish tab. Also adds title_spanish to workshops, shown as a heading inside the Spanish tab. Tags are now rendered inside each tab content div (English and Spanish) instead of above the tabs, so switching tabs naturally toggles the correct language. All Spanish fields fall back to English when blank. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the goal of this PR and why is this important?
name_spanishto categories, sectors, and category_types, andtitle_spanishto workshopsHow did you approach the change?
name_spanishcolumn to categories, sectors, and category_types tablestitle_spanishcolumn to workshops tablespanishflag and conditionally display the Spanish name<h2>inside the Spanish tab content (only when present)title_spanish/detail_spanishmethods that fall back to Englishhas_spanish_fields?to also checktitle_spanishUI Testing Checklist
Anything else to add?
_spanishsuffix column pattern used by workshop content fields🤖 Generated with Claude Code