Skip to main content

install_retranslate

Function install_retranslate 

Source
pub fn install_retranslate(app: &mut App)
Expand description

Register the rebuild, after the applier that performs the switch, so a locale a script picks lands on the tick it was picked on.

The order is not the host’s to choose: running the rebuild before the applier leaves the tree a tick behind the locale, which shows up as a language menu whose entries take two clicks.