You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now if a line doesn't begin with " and ends in "; is considered a comment, so it is not parsed.
If the line begins with " but doesn't end in "; it should add the next line as part of the translation, and so on till a line ends in ";
Also, investigate the possibility of loading the localization file as a NSDictionary and after finding the keys get the value from dictionary. You still need to deal with the remaining lines since they'll be considered comments and write back to the file.
The text was updated successfully, but these errors were encountered:
This is too complicated, now the lines can also contain comments which makes it even harder to detect the end of line. For the same reason reading the file as a NSDictionary will lose formatting and comments so is not a good path.
Right now if a line doesn't begin with " and ends in "; is considered a comment, so it is not parsed.
If the line begins with " but doesn't end in "; it should add the next line as part of the translation, and so on till a line ends in ";
Also, investigate the possibility of loading the localization file as a NSDictionary and after finding the keys get the value from dictionary. You still need to deal with the remaining lines since they'll be considered comments and write back to the file.
The text was updated successfully, but these errors were encountered: