# General Translation Platform: モノレポでLocadexを使う
URL: https://generaltranslation.com/ja/docs/platform/locadex/guides/using-in-monorepos.mdx
Docs index: https://generaltranslation.com/llms.txt
Description: モノレポでLocadexの対象ディレクトリとコマンドを設定する方法。

プロジェクトでモノレポを使用している場合は、ローカライズしたいアプリが含まれているフォルダをLocadexに指定してください。この対象ディレクトリは、自動化の作成時または編集時に設定できます。

## 対象ディレクトリを設定する [#target-directory]

**プロジェクト &gt; 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

## Sitemap

See the full [sitemap](https://generaltranslation.com/sitemap.md) for all pages.
