Skip to content

Crowdin: Update configuration settings for new test - #122

Open
marcuspollio wants to merge 2 commits into
mainfrom
crowdin-try-again
Open

marcuspollio wants to merge 2 commits into
mainfrom
crowdin-try-again

Conversation

@marcuspollio

@marcuspollio marcuspollio commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Update the crowdin.yml configuration so only the homepage content (i.e. /content/<lang>/_index.md) and theme strings (i.e. i18n/<lang>.yaml) are available for now.

They will be accessible in different folders in the CrowdIn UI project, Website content and Website theme respectively.

TODO

  • Before merging, the new "website" CrowdIn project keys have be set in this repository vars/secrets.
  • After merging, and before CrowdIn is used by translators for the website, some parser settings in CrowdIn UI have to be changed: excluded front matter fields (see below), front matter export quotes as default (i.e. no quote marks when not needed, and double quotes for strings that need quotes), etc.
Front matter fields to exclude from translation
cover.image
date
draft
author
category
tags
weight
icon
redirect
aliases
icon_cms
build.render
buttons.link

Basically, front matter fields that can be translated currently are: title, linkTitle, description, cover.caption, buttons.label.

Related issues

Bug: CrowdIn integration needs to be reconsidered

PR checklist

  • This change is verified to work as described. The documentation is added/updated if necessary.
  • This change complies with the repository Guidelines.

@chennes

chennes commented Oct 28, 2026

Copy link
Copy Markdown
Member

You will also have to update the CrowdIn calls to use the newly-created "CROWDIN_API_BASE_URL" so you are accessing the correct organization (the project ID is per-org). It's set to "https://freecad.api.crowdin.com/api/v2" now. PAT also updated, and the necessary settings changes made at CrowdIn.

@marcuspollio

Copy link
Copy Markdown
Collaborator Author

Thanks for the info.
The last commit added this new variable, so it's now part of the FreeCAD org/enterprise.
Let me know if it's all good, then we can squash, merge, and test it.

This branch has not been deployed

No deployments
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