Fixed bugs in get-localization-value template.
Added template for triggering index generation.