Receive notifications about upcoming Intlayer releases
    Creation:2024-08-11Last update:2025-11-22

    Review Document

    The doc review command analyses documentation files for quality, consistency, and completeness across different locales.

    npx intlayer doc review

    It can be used to review files that are already translated, and to check if the translation is correct.

    For most use cases,

    • prefer using the doc translate when the translated version of this file is not available.
    • prefer using the doc review when the translated version of this file already exists.
    Note that the review process consumes more entry tokens than the translate process to review the same file entirely. However, the review process will optimise the chunks to review, and will skip the parts that are not changed.

    Arguments:

    The doc review command accepts the same arguments as doc translate, allowing you to review specific documentation files and apply quality checks.

    If you have activated one of the git options, the command will only review the parts of the files that are being changed. The script will process by chunking the file and reviewing each chunk. If there are no changes in the chunk, the script will skip it to speed up the review process and limit the AI Provider API cost.

    For a complete list of arguments, see the Translate Document command documentation.

    Receive notifications about upcoming Intlayer releases