# Translate Language Cities and Region in Front-end

**Step 1:** You need to execute the below command in your command prompt.\
“php bin/magento i18n:collect-phrases –output=”app/code/Magecomp/Cityandregionmanager/i18n/en\_US.csv” app/code/Magecomp/Cityandregionmanager”

–>If your use other langauge to translate word then you need to change file name as per your langauge package.\
“php bin/magento i18n:collect-phrases –output=”app/code/Magecomp/Cityandregionmanager/i18n/ar\_SA.csv” app/code/Magecomp/Cityandregionmanager”

**Step 2:** After you need to add city,states in your langauge app/code/Magecomp/Cityandregionmanager/i18n/en\_US.csv file

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2F5GCP3Z5XUUh5OQdIOPYh%2Fimage.png?alt=media&#x26;token=e01c94a3-a24b-4563-87f0-dc6b6efd8db2" alt=""><figcaption></figcaption></figure>

**Step 3:** After Add Text in the en\_US.csv/ar\_SA.csv file you need to run your Magento command.

that’s it! incase you need any technical assist
