mirror of
https://github.com/twentyhq/twenty
synced 2026-04-21 13:37:22 +00:00
## Problem The Crowdin GitHub Actions were failing with: ``` ❌ No sources found for 'packages/twenty-docs/user-guide/**/*.mdx' pattern ❌ No sources found for 'packages/twenty-docs/developers/**/*.mdx' pattern ❌ No sources found for 'packages/twenty-docs/twenty-ui/**/*.mdx' pattern ❌ No sources found for 'packages/twenty-docs/navigation/navigation.template.json' pattern ``` ## Root Cause The Crowdin config files are located at `.github/crowdin-docs.yml` and `.github/crowdin-app.yml`. By default, the Crowdin CLI resolves source paths relative to the config file's directory (`.github/`), not the repository root. So paths like `packages/twenty-docs/...` were being resolved as `.github/packages/twenty-docs/...`, which doesn't exist. ## Fix Added `base_path: ".."` to both Crowdin config files to make paths resolve relative to the repository root.
23 lines
438 B
YAML
23 lines
438 B
YAML
#
|
|
# Crowdin CLI configuration for App translations (twenty-front, twenty-server, twenty-emails)
|
|
# Project ID: 1
|
|
# See https://crowdin.github.io/crowdin-cli/configuration for more information
|
|
#
|
|
|
|
"preserve_hierarchy": true
|
|
"base_path": ".."
|
|
|
|
files: [
|
|
{
|
|
#
|
|
# Source files filter - PO files for Lingui
|
|
#
|
|
"source": "**/en.po",
|
|
|
|
#
|
|
# Translation files path
|
|
#
|
|
"translation": "%original_path%/%locale%.po",
|
|
}
|
|
]
|
|
|