A Tool for helping in localizing Angular2 applications

Posted on

As mentioned in Wikipedia “Internationalization and localization are means of adapting computer software to different languages, regional differences and technical requirements of a target market (locale)(1).
In the context of Angular 2 applications, a popular tool for translation is ng2-translate (https://github.com/ocombe/ng2-translate).
While pretty effective in translation of texts we detect a possibility of improvement in localization aspects. Particularly there was no clear solution on how to efficiently manage text for different locales in the same language. You were forced either to copy all your translations in all the language files but adjusting the differences, or develop a solution like this plugin.
That was the inspiration for the plugin, while very simple it adds a bit of help at localizing applications, you just need to store the differences in the localization files and the default version will be extracted from the main language file.
You can see more details at https://www.npmjs.com/package/ng2-translate-localize but as a summary, the plugin adds the possibility of manage different files for each particular locale (es.json, es-UY.json, es-AR.json, …) and helps on the resolution of the translations against those files.

See also  Understanding the Differences between Web3 vs blockchain Development

Posted in Angular, Javascript, Software DevelopmentTagged , , ,

infuy
linkedin logo
twitter logo
instagram logo
facebook logo
By infuy
Infuy is an international technology leader company specialized in outsourcing services in the latest technologies. Blockchain (smart contracts, dApps and NFT marketplaces), full-stack, mobile development, and team augmentation are some of the areas where Infuy specializes in. As a software development company based in Uruguay with offices in the US, Infuy is always looking for the next big challenge, and the next big partner. As a fast-growing company, Infuy is always looking for talented and proactive people, who live up to the challenge and are as passionate as their team is about their mission to provide the best solutions to their partners, with the latest technologies, to join the team. For more information about the company and its services, please visit https://www.infuy.com/.