android-studio-plugin icon indicating copy to clipboard operation
android-studio-plugin copied to clipboard

Support `base path` option, if the `crowdin.yml` file is not in the root path of project.

Open sakurawald opened this issue 7 months ago • 3 comments

Is your feature request related to a problem? Please describe.

Image

Describe the solution you'd like My source file are located in crowdin/push-to-crowdin/en_US.json And my translation files are located in crowdin/pull-from-crowdin/xx_YY.json.

Describe alternatives you've considered Support to specify the base path for crowdin idea plugin

Additional context None

sakurawald avatar Jul 02 '25 10:07 sakurawald

Hi @sakurawald!

The crowdin.yml configuration file should be located in the project's root directory. You can specify the necessary source and translation paths using the source, translation configuration patterns, it should work this way. There is no need in base path.

andrii-bodnar avatar Jul 02 '25 11:07 andrii-bodnar

Hi @sakurawald!

The crowdin.yml configuration file should be located in the project's root directory. You can specify the necessary source and translation paths using the source, translation configuration patterns, it should work this way. There is no need in base path.

Hmm, the corwdin github action does support the option.

      - name: crowdin action
        uses: crowdin/github-action@v2
        # If we parallel run the crowdin action, it will fail with 409 error.
        if: github.ref == 'refs/heads/dev' && matrix.target-mc-version == '1.21.6'
        with:
            # Define the location of crowdin.yml file.
            config: "crowdin/crowdin.yml"

sakurawald avatar Jul 02 '25 11:07 sakurawald

Currently, the Android Studio Plugin only supports the options mentioned in the Readme file, not all of the crowdin.yml options.

Thank you for your request. We will take it into consideration.

andrii-bodnar avatar Jul 02 '25 11:07 andrii-bodnar