If anyone could point me in the right direction, i'd be most thankful.
i'm trying to make 2 scripts to convert between IOS and Android i18n formats to work. I've gotten Android -> IOS to work, but the other way around is a challenge.Basically, for each row in a file i want to convert"login_infoLabel" = "Do you need help? Press here.”;to<string name="login_infoLabel">Do you need help? Press here.</stringSee my script below. The problem is the first search string to find the first " on each row. I spoke with Patrik at BBEdit and he kindly informed me that it was because AppleScript doesn't support grep
… Isn't the script expecting every row to begin with "login_infolabel" as it is written right now? The variable names in the files are different on every row. Or am i missing something obvious?
Below are three example rows the way they work on Android, followed by their equivalent IOS counterparts.<string name="switch_header">Switch account</string><string name="automaticCheckinTo">Automatic check-in to %1$s</string><string name="shortcut_subtitle_checkin">Choose location</string>"switch_header" = "Switch account";"automaticCheckinTo" = "Automatic check-in to %@";"shortcut_subtitle_checkin" = "Choose location";