Skip to content

Conversation

@jakubklimek
Copy link
Contributor

@jakubklimek jakubklimek commented May 21, 2025

  • Add Czech translations
  • in src/core/structure.js, add support for i10n
  • in src/core/dfn-index.js add also other missing translations

Related PR in W3C's fixup.js: w3c/tr-design#376

@netlify
Copy link

netlify bot commented May 21, 2025

Deploy Preview for respec-pr ready!

Name Link
🔨 Latest commit 8e9adcf
🔍 Latest deploy log https://app.netlify.com/projects/respec-pr/deploys/6899ecd9ff46330008baee17
😎 Deploy Preview https://deploy-preview-4965--respec-pr.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@marcoscaceres
Copy link
Contributor

marcoscaceres commented Aug 6, 2025

Thanks for doing this @jakubklimek. Checked translations with co-pilot. It liked them too.

@marcoscaceres marcoscaceres requested a review from Copilot August 6, 2025 05:57
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds comprehensive Czech language translations to the ReSpec framework, expanding internationalization support. The changes also include adding missing translations for other languages in the definition index module and internationalizing the "Back to Top" functionality.

  • Add complete Czech (cs) translations across all localization modules
  • Internationalize the "Back to Top" feature in the structure module
  • Add missing translations for multiple languages in the definition index

Reviewed Changes

Copilot reviewed 28 out of 29 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/w3c/templates/sotd.js Adds Czech translations for status section
src/w3c/templates/headers.js Adds Czech translations for document headers
src/w3c/linter-rules/required-sections.js Adds Czech translations for required sections linter
src/w3c/abstract.js Adds Czech translation for abstract heading
src/ui/search-xref.js Adds Czech translation for cross-reference search
src/ui/search-specref.js Adds Czech translation for Specref search
src/ui/about-respec.js Adds Czech translation for about dialog
src/core/title.js Adds Czech translation for default title
src/core/structure.js Internationalizes "Back to Top" and adds Czech translations
src/core/render-biblio.js Adds Czech translations for bibliography sections
src/core/mdn-annotation.js Adds Czech translations for MDN annotations
src/core/linter-rules/*.js Adds Czech translations for various linter rules
src/core/link-to-dfn.js Adds Czech translations for duplicate definition messages
src/core/issues-notes.js Adds Czech translations for issue and note labels
src/core/informative.js Adds Czech translation for informative section notice
src/core/examples.js Adds Czech translation for example label
src/core/dfn-index.js Adds Czech and missing translations for definition index

@marcoscaceres
Copy link
Contributor

Some small linting issues by the looks of it. @jakubklimek, can you run prettier.js over the files affected files?

@marcoscaceres
Copy link
Contributor

Oh yay! copilot found a typo.. mind fixing that too?

@sidvishnoi sidvishnoi changed the title Add Czech translations feat: add Czech translations Aug 6, 2025
@sidvishnoi
Copy link
Member

@jakubklimek can you revert all changes to builds/ folder? That folder is updated on release only.

@sidvishnoi sidvishnoi changed the title feat: add Czech translations feat: add Czech translations, along with some missing ones Aug 11, 2025
Copy link
Member

@sidvishnoi sidvishnoi left a comment

Choose a reason for hiding this comment

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

Thank you, @jakubklimek!

@sidvishnoi sidvishnoi merged commit 6846b20 into speced:main Aug 11, 2025
9 of 11 checks passed
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.

3 participants