Changes between Initial Version and Version 1 of Ticket #11240, comment 11
- Timestamp:
- May 20, 2011, 4:36:12 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11240, comment 11
initial v1 4 4 > This means that Python string formatting specifiers rules should be followed when using the i18n template tags with string literals containing extrapolated variables or special meaning chars like `%`. In this case it means you literal would need to be `{% trans "findme 10%% " %}` 5 5 6 I've verified this is behaving correctly with trunk as of now and with 1.3. Ignore that advice I gave back then. I suspect r1 1459 fixed this in django so it works transparently for the app developer without the need to use `%%` with the `trans` i18n template tag.6 I've verified this is behaving correctly with trunk as of now and with 1.3. Ignore that advice I gave back then. I suspect r14459 fixed this in django so it works transparently for the app developer without the need to use `%%` with the `trans` i18n template tag. 7 7 8 To test thing I created a template like this:8 To test things I created a template like this: 9 9 10 10 {{{