# General Translation Platform: モノレポでLocadexを使う URL: https://generaltranslation.com/ja/docs/platform/locadex/guides/using-in-monorepos.mdx --- title: モノレポでLocadexを使う description: モノレポでLocadexの対象ディレクトリとコマンドを設定する方法。 related: links: - /docs/platform/locadex/guides/configuring-automations - /docs/platform/locadex/guides/adding-environment-variables - /docs/platform/locadex/guides/managing-languages - /docs/platform/locadex/guides/auto-merging-prs --- プロジェクトでモノレポを使用している場合は、ローカライズしたいアプリが含まれているフォルダをLocadexに指定してください。この対象ディレクトリは、自動化の作成時または編集時に設定できます。 ## 対象ディレクトリを設定する [#target-directory] **プロジェクト > Automations** を開き、自動化を作成または選択します。**対象ディレクトリ** には、リポジトリのルートからアプリまでのパスを設定します。 アプリがリポジトリのルートにある場合は、 `.` を使用します。 ## コマンドを設定する [#configure-commands] 自動化コマンドは、リポジトリのルートで実行します。 コマンドをアプリのディレクトリ内で実行する必要がある場合は、コマンド内でディレクトリを移動するか、パッケージマネージャーのワークスペースコマンドを使用してください。 たとえば: ```bash cd locadex-lab && npm run build ``` ## Next steps - /docs/platform/locadex/guides/configuring-automations - /docs/platform/locadex/guides/adding-environment-variables - /docs/platform/locadex/guides/managing-languages - /docs/platform/locadex/guides/auto-merging-prs