Translation tools may require the current request or detected language from the context, but notably with cinje templates, template generation and iteration happens after we have called the after extension callbacks. This means the _ and D_ translation tools are unable to identify the active language tag (context.lang) during rendering.
This is less impactful within cinje templates themselves, which are generally passed the context with its bound context.lang._ and context.lang.D_ versions, but is a huge problem within __str__ and other argument-free methods.
Translation tools may require the current request or detected language from the context, but notably with cinje templates, template generation and iteration happens after we have called the
after
extension callbacks. This means the_
andD_
translation tools are unable to identify the active language tag (context.lang
) during rendering.This is less impactful within cinje templates themselves, which are generally passed the context with its bound
context.lang._
andcontext.lang.D_
versions, but is a huge problem within__str__
and other argument-free methods.