8000 Feature/CTXAPI-1831 multiple locales hash name by joaquinlencinas · Pull Request #410 · Medable/mdctl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feature/CTXAPI-1831 multiple locales hash name #410

New issue

Have a question about this project? Sign up for 8000 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

Merged

Conversation

joaquinlencinas
Copy link
Contributor

When a template localization supports more than 1 specific locale, a hash code is created to represent the locales array in a single string, to be used as part of the template filename.

For example, for the set of locales ["en_US", "en_CA"], the generated file names are:

  • template.email.c_ctxapi_1831_two_locales.9412de480b4c448a38672129c761a31f.html.html
  • template.email.c_ctxapi_1831_two_locales.9412de480b4c448a38672129c761a31f.plain.txt
  • template.email.c_ctxapi_1831_two_locales.9412de480b4c448a38672129c761a31f.subject.txt

@gastonrobledo gastonrobledo merged commit 6582abf into release/1.0.68 Nov 29, 2022
@gastonrobledo gastonrobledo deleted the feature/CTXAPI-1831_multiple_locales_hash_name branch November 29, 2022 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0