1. {% load i18n %}
    
  2. 
    
  3. {% translate "Literal with a percent symbol at the end %" %}
    
  4. {% translate "Literal with a percent % symbol in the middle" %}
    
  5. 
    
  6. {% translate "It is 100%" %}
    
  7. {% translate "It is 100%" context "female" %}
    
  8. {% translate "Looks like a str fmt spec %s but should not be interpreted as such" %}
    
  9. {% translate "Looks like a str fmt spec % o but should not be interpreted as such" %}
    
  10. 
    
  11. {% translate "1 percent sign %, 2 percent signs %%, 3 percent signs %%%" %}
    
  12. {% blocktranslate with name="Simon" %}{{name}} says: 1 percent sign %, 2 percent signs %%{% endblocktranslate %}