Skip to content

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.

3 participants