I have multiple flutter projects bundled together in a monorepo. To reuse localized strings i made a new sub package which is only dedicated for localization. Unfortunately i can't extract strings into the arb file. The plugin assumes that the base path is always the current opened project in android studio. But instead it should reuse the current working directory where it wants extracting the string from.
Here's a small example what it currently looks like:
.
├── .fvm
│ ├── flutter_sdk -> /Users/**/fvm/versions/2.8.0
│ └── fvm_config.json
├── apps
│ └── sample_app
├── l10n <----------------------- Plugin creates automatically a new directory
│ └── intl_de.arb
├── melos.yaml
└── packages
├── another_package
├── all_localization <------- This is the package where the plugin should search for arb-Files
│ ├── assets
│ ├── l10n <-- Here are my strings
│ ├── lib
│ ├── pubspec.lock
│ └── pubspec.yaml
└── another_package2
My pubspec.yaml from all_localization package looks as follows:
I have multiple flutter projects bundled together in a monorepo. To reuse localized strings i made a new sub package which is only dedicated for localization. Unfortunately i can't extract strings into the arb file. The plugin assumes that the base path is always the current opened project in android studio. But instead it should reuse the current working directory where it wants extracting the string from.
Here's a small example what it currently looks like:
My pubspec.yaml from all_localization package looks as follows:
My idea is only to create & extract strings from all_localization package.
I'm looking forward to your response. Thanks in advance. Great productivity tool you guys made here 👍