i18n: Encode length and punctuation in key IDs #1524
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "i18n-id-encode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is to make don't end up using the same string for two
strings using the same words but different length and punctuation.
For example, there are two strings of different length on the site that started with this exact substring:
As a result, the shorter string on the site ended up being superseded by the longer string. I had to bump the max base key length up from 100 to 150. Encoding the length in the key makes sure we don't run into this issue in the future for even longer strings.