Function perseus::build::build_templates_for_locale [−][src]
pub async fn build_templates_for_locale(
templates: &TemplateMap<SsrNode>,
translator_raw: Translator,
__arg2: (&ImmutableStore, &impl MutableStore),
exporting: bool
) -> Result<(), ServerError>
Expand description
Runs the build process of building many different templates for a single locale. If you’re not using i18n, provide a Translator::empty()
for this. You should only build the most commonly used locales here (the rest should be built on demand).