שאלו את שאלתכם וקבלו סיכום של המסמך על ידי הפניה לדף הזה ולספק ה-AI שתבחרו
התוכן של הדף הזה תורגם באמצעות AI.
צפייה בגרסה האחרונה של התוכן המקורי באנגליתאם יש לכם רעיון לשיפור התיעוד הזה, אל תהססו לתרום על ידי הגשת Pull Request ב-GitHub.
קישור GitHub לתיעודהעתקת ה-Markdown של המסמך ללוח
Test missing translations
העתקת הקוד ללוח
Aliases:
npx intlayer content test
This command analyzes your content declaration files to identify missing translations across all configured locales. It provides a comprehensive report showing which translation keys are missing for which locales, helping you maintain consistency across your multilingual content.
Example output:
העתקת הקוד ללוח
Arguments:
Configuration options:
--env: Specify the environment (e.g.,development,production).--env-file [envFile]: Provide a custom environment file to load variables from.--base-dir: Specify the base directory for the project.Example:
npx intlayer content test --base-dir ./src --env-file .env.production.local--no-cache: Disable the cache.Example:
npx intlayer build --no-cache--ci: Run the command in every Intlayer project of the monorepo (or only the current one when run from a project directory). Per-project credentials can be injected viaINTLAYER_PROJECT_CREDENTIALS, a JSON map of project path to{ "clientId", "clientSecret" }.Example:
npx intlayer test --ci
Preparation options:
--build: Build the dictionaries before pushing to ensure the content is up to date. True will force the build, false will skip the build, undefined will allow using the cache of the build.
Log options:
--verbose: Enable verbose logging for debugging. (default to true using CLI)Example:
npx intlayer content test --verbose
Example:
העתקת הקוד ללוח
The output helps you quickly identify which translations need to be completed to ensure your application works properly across all configured locales.
