Search

Index

Revindex Storefront

Static Localization and Language Packs

Last updated on 2022-02-21 2 mins. to read

Static localization is for non-data driven text such as a button label on a page that doesn’t change (e.g. the button “Buy now” is static localized text).

Revindex provides translated text in the form of languages packs for various languages (e.g. Spanish, French, Italian, German, etc.). To install a language pack, log in as Host and add the language from the persona bar Settings > Site Settings page under the Languages tab. Once the language has been added, you can install the language pack under Settings > Extensions page by following the installation wizard.

If the language pack is not available, you can manually localize static text from the Settings > Site Settings page. Edit the static resources for the Site next to the desired language. Expand the nodes under:

Local Resources
    DesktopModules
        Revindex.Dnn.RevindexStorefront
            App_LocalResources

and under:

Local Resources
    DesktopModules
        Revindex.Dnn.RevindexStorefront

            WebUserControls

Repeat for each of the templates where <_default> is the standard templates or your portal number if you have created custom display templates. <ModuleControl> is one of the module controls and <StandardX> is which ever template name you're currently using.

Local Resources
    DesktopModules
        Revindex.Dnn.RevindexStorefront
            Portals
                <_default>
                    Display
                        <ModuleControl>
                            <StandardX>
                                App_LocalResources
                                    Display.cshtml

 

You can also quickly edit the resource files (*.resx) in your site folder using Visual Studio or Notepad if you're comfortable editing an XML file.

Comments


Powered by Revindex Wiki