The plugin lets you integrate android project with Crowdin. It enables you to upload new source strings to the system instantly as well as download translations from your Crowdin project. Please note, that translations from Android Studio aren’t pulled into Crowdin.
To start using this plugin, create a file with project credentials named crowdin.properties in the root directory of the project.
Plugin will automatically find
strings.xml file in the values directory and if renewed it will be uploaded to Crowdin instantly. If you have more source files or the source file’s name is other than
strings.xml please specify this in the
For Android Studio projects that use a git VCS, the plugin will automatically create corresponding branches in Crowdin. If you do not use branches feature in Crowdin, add
disable-branches=true parameter into the configuration file.
auto-upload=false to prevent automatic file upload to Crowdin.
To download translations from Crowdin, choose in menu:
Tools > Crowdin > Download. Translations will be exported to the
Resources folder. This plugin automatically sets export patterns (the path where translations will be added into Android Studio), while uploading the source file to Crowdin. The export path for translations can’t be changed.
- Install plugin via JetBrains Plugin repository.
- Plugin automatically detects the file with sources strings (“**/values/strings.xml”). If changed, the file will be updated in Crowdin.
- Source file can also be manually uploaded to Crowdin via menu
Tools > Crowdin > Uploador click the right mouse button on the file and select
Upload to Crowdin.
- To download translations use menu
Tools > Crowdin > Download. Translations will be exported to the resource folder (**/resources/values-uk/strings.xml, **/resources/values-fr/strings.xml, …)