Alloy uses the FileXmlLocalizarionProvider https://world.episerver.com/documentation/developer-guides/CMS/globalization/localizing-the-user-interface/
This also can work for any localized strings outside of the CMS such as the views. Everything you need should be in https://world.episerver.com/documentation/developer-guides/CMS/globalization/
In alloy sample, Html.Translate("/footer/products") returns "Products" from Views.xml file using LocalizationService. How does LocalizationService gets data?