Quetzalâs Role
Quetzal is designed to work with whichever systems and libraries you are already using. We do not provide libraries or tools to be installed in your code. Instead, you first decide on a localization scheme on your end, and Quetzal can take charge of managing it. This lets you have all of the freedom to implement localization in a way that works for you, but with the confidence that the legwork to maintain it will always be completed. However, we have some tips in picking the best framework, if you do not yet have oneScope
As a reminder, these tools and tips are designed for translating static strings defined within your codebase. If you have other content in need of translating, you can use our API.The Worst Thing You Could Possibly Do
The single worst possible choice for code localization is to try to roll your own, or localize without relying on an existing system. We see countless codebases with entirely novel and custom translation mechanisms, and they very often have blind spots which force heinous patterns for translating strings down the line. It is strongly recommended to use a battletested solution, even if it seems like overkill at the start.Rule of Thumb
Most of the time, there will be several localization patterns for your stack. We recommend:- First Party Any time there is a localization scheme baked into the stack (ie, Appleâs Swift localization, Androidâs string resource loading, packages like @angular/localize) itâs usually a sign that it is maintained specifically for your use case. Unless you have a good reason, opt for this first.
- Open Source: If no good first party solution exists, you are looking for the most beloved third-party open source solution. There is usually only a couple.
