Apologies for the delay in reply. We got a reply from our devs and they suggest you make the next changes:
in the find field - \"(no)\"(\s)*:(\s)*\{
and in replace field - "nb" : {
Well sadly, it didn’t go well. It doesn’t work and I’m under the impression the regex content processor doesn’t work at all for the .xcstrings for some reason. I’ve tried a very simple regex like no to be replaced by nb and even that doesn’t change a thing (see capture).
Honestly what bothers me the most is that we shouldn’t have to use regex at all as language mappings should work for .xcstrings. It’s been the official format supported by Apple for a year now !
In addition to the issues already mentioned, I spotted another thing that should be fixed on xcstrings generation. Currently we can set the "extraction state"in the settings of the exporter. It is defaulted to “manual”.
However for XCode to extract automatically strings from the code, the extraction state should be omitted in the JSON of the xcstrings. I tried not setting anything in the field but it resets to “manual”