> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-city-and-region-manager/translate-language-cities-and-region-in-front-end.md).

# 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="/files/uhvAZtFz4n1JBIoizI3q" 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
