-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support .arb format #92
Comments
@daniel-sc, I think the only thing that .xlf has but .arb does not have is the following tag in .xlf I am currently using ng-extract-i18n-merge to extract translation and translate the files, then I am using a tool to extract angular translation json file from the translated .xlf file and load the translation in Angular dynamically. |
@co-dax I'm not quite sure how a meaningful workflow/translation process could work without a "state" information. This tool could of course remove/insert obsolete/new translations to the language file(s), but how could a translator find the texts that need to be translated? Additionally, a missing "source" text, will make it difficult to update translations for changed texts. Do you have an idea what I might be missing? |
@daniel-sc I agree with you that without ...I don't know, but what I described above for me is the best compromise:
...since I am getting all the benefits from .xlf file (I am particularly referring to |
Angular is now allowing extraction to .arb format which is essentially a json and it seems it has all the same infor as .xlf format. Documentation is here https://angular.io/guide/i18n-common-translation-files#change-the-source-language-file-format and from there there is reference to .arb schema/format https://github.com/google/app-resource-bundle/wiki/ApplicationResourceBundleSpecification.
Originally posted by @co-dax in #44 (comment)
Anyone: Please upvote this issue if you'd be interested in using this library with the "arb" format!
The text was updated successfully, but these errors were encountered: