l10nization icon indicating copy to clipboard operation
l10nization copied to clipboard

Add to arb files is changing the apps arbs, and a separate subprojects arbs

Open sgehrman opened this issue 1 year ago • 1 comments

It should only add to arbs on the first location that it finds, not all locations found.

I have a folder called "extension" at the root level of my app.

I decided to give it it's own l10n.yaml and arb/l10n folders since it's only like 20 strings.

But adding to arb files in main app, also modifies the arbs in the 'extension' folder.

Your extension must be scanning for all arb files. I thought I could temporarily rename 'extension/l10n.yaml' to some nonsense hoping it would not modify those arb files, but it modifies them anyway.

sgehrman avatar Feb 01 '24 22:02 sgehrman

Hi @sgehrman,

The extension supports multi-project. Perhaps the location you're trying to extract doesn't have a parent with l10n?

To reproduce the bug, I'd need the structure of your project (folders are enough)

lsaudon avatar Feb 02 '24 12:02 lsaudon