Index / duplicate documents (#1215).
Fix multilingual template local codes.