3 ms·
The downside of using separate IDs is that the developer has to "name" each string shown in the user interface, instead of just using the source string as an ID
by ngrilly 8y ago
The downside of using separate IDs is that the developer has to "name" each string shown in the user interface, instead of just using the source string as an ID. And as you know, naming things is hard ;-)
- zbraniecki 8y agoYes, naming is hard, but, to quote the previous commenter "this can be worked around" - you can `slug` any string if you want to. We prefer to think of the ID as the base of the social contract between the dev and the localizer. This enables a lot of fine tuned control over string invalidation.
- ngrilly 8y agoConsidering the translation ID as a "slug" is a good tip to ease choosing the ID. Thanks!