Releases: crowdin/android-studio-plugin
2.2.0
What's Changed
- feat: option to skip special chars escape by @yevheniyJ in #144
- fix: bundles urls by @yevheniyJ in #138, #139
Full Changelog: 2.1.0...2.2.0
2.1.0
What's Changed
- feat: bundle settings button, url fixes by @yevheniyJ in #136
- ci: upgrade actions by @andrii-bodnar in #128
- test: add unit tests for BranchLogic by @sagar-rout in #134
- test: add unit tests for ContextLogic by @sagar-rout in #135
New Contributors
- @sagar-rout made their first contribution in #134
Full Changelog: 2.0.2...2.1.0
2.0.2
2.0.1
2.0.0
We're excited to announce a major Crowdin Android Studio plugin update! This release brings significant improvements in both functionality and usability! 🎉 🚀 ✨
Plugin UI redesign
- Added Upload and Download tabs in the Crowdin plugin panel. The Tools menu has been replaced with intuitive tabs for faster access to the most important features. You can easily upload and download your localization resources using the new UI, as well as preview your files that match the configured source and translation patterns.
New configuration file format
- YAML format instead of properties. Due to the lack of possibilities of the properties file format (e.g. arrays) we've decided to change the configuration format to YAML. Now you can manage your configuration in a human-readable file for better maintainability and organization. Another advantage of this change is the compatibility with other Crowdin tools like CLI, VS Code plugin, and GitHub Action.
- New options: introducing new features and flexibility with additional configuration options (
branch
). - Options renaming: several options have been renamed for clarity and consistency.
- Moved options: some options are now accessible from the plugin Settings menu for easier configuration (e.g.
disable_branches
,auto_upload
,completion_disabled
,completion_file_extensions
). - Removed options: the top-level
source
,labels
, andexcluded_target_languages
options have been removed in favor of file-level properties.
String-based projects support
Now you can integrate your Android Studio projects with the new Crowdin String-based projects. You can upload sources and existing translations to Crowdin, download translations from Bundles and check project progress.
In string-based projects, the focus is on managing translatable content as individual strings rather than source files. In this project type, after uploading source files, Crowdin parses them into source strings. Unlike file-based projects, source files aren't stored, and the emphasis is on managing the content at the string level. This approach is beneficial when dealing with projects that involve continuous content updates, dynamic content, or where a string-oriented structure is preferred.
Plugin Settings
We have added a new settings menu to the plugin. Now you can manage your configuration more conveniently.
It allows you to specify credentials such as project ID, API token, and other settings. You can find it in the IDE Settings
-> Tools
-> Crowdin
menu.
Upgraded dependencies
- Java 8 to Java 17.
- IntelliJ minimum version: IntelliJ IDEA 2022.2.
- Gradle 4.5 to Gradle 8.5.
Discussion
v1 to v2 migration guide
The v2 brings a new crowdin.yml
configuration file instead of crowdin.properties
, so you'll need to migrate your old config to the new one. Also, some configuration options have been moved to the plugin settings.
List of changes
- Create a
crowdin.yml
configuration file. - Move options from the
crowdin.properties
:project-id
->project_id
in the yml config or the plugin settings.project-id-env
->project_id_env
in the yml config.api-token
->api_token
in the yml config or the plugin settings.api-token-env
->api_token_env
in the yml config.base-url
->base_url
in the yml config.base-url-env
->base_url_env
in the yml config.sources
-> removed, usefiles
instead.disable_branches
-> use the Use Branches option in the plugin settings.auto_upload
-> use the Automatically upload on change option in the plugin settings.completion_disabled
-> use the Enable Autocompletion option in the plugin settings.completion_file_extensions
-> use the File extensions option in the plugin settings.labels
->labels
in the yml config to file-level configuration.excluded-target-languages
->excluded_target_languages
in the yml config to file-level configuration.preserve-hierarchy
->preserve_hierarchy
import-eq-suggestions
->import_eq_suggestions
in the yml config to file-level configuration.auto-approve-imported
->auto_approve_imported
translate-hidden
->translate_hidden
- Delete the
crowdin.properties
file.
1.6.3
What's Changed
- fix: branch remove special characters by @yevheniyJ in #114
- chore: bump com.github.crowdin:crowdin-api-client-java by @andrii-bodnar in #116
Full Changelog: 1.6.2...1.6.3
1.6.2
What's Changed
- updated to the new logo by @indra057 in #111
- Unit tests for
CrowdinProjectCacheProvider.getInstance()
by @picimako in #107 - ci: use GH Actions by @andrii-bodnar in #106
- ci: enforce conventional commits specification by @andrii-bodnar in #112
New Contributors
Full Changelog: 1.6.1...1.6.2
1.6.1
Added
- Add import options for translations upload in #81 by @jivjen
- Added unit tests to improve code coverage for the
CrowdinFileUtil.java
in #87 by @Sakshi-75 - Added unit tests to improve code coverage for
RetryUtil.java
in #88 by @Sakshi-75 - Added Test cases for
PlaceholderUtil.class
in #90 by @sivasuriyankumarasamy - Added unit tests to improve code coverage for
FileUtil.java
in #94 by @Sakshi-75 - Added unit test for
util.java
in #96 by @Sakshi-75 - Added Unit Test Case For
CrowdinProjectCacheProvider
in #98 by @Gowrishankar04 - Added Unit Test Case For
CrowdinPropertiesLoader
in #101 by @Gowrishankar04 - Added unit tests for
CrowdinSettings.java
in #103 by @Sakshi-75 - Add LanguageMapping tests in #89 by @ImnIrdst
Fixed
- Fixed typo in
UIUtil:confirmDialog
method name in #80 by @manish-singh-bisht
1.6.0
Added
Strings Autocompletion in #75 by @yevheniyJ
Whenever a user types something, the Android Studio autocompletion will suggest available string keys from Crowdin.
There is a possibility to configure file extensions, where the string keys autocompletion will appear. By default, autocompletion is turned on and available in all files.
Strings for autocompletion are loaded during the bootstrap of Android Studio and are also updated whenever there was a change in the crowdin.properties
configuration file.