user-image Robert Razer Art Director

$0

Your income from the last year
in sales product X.

i18 Support

Built for Speed. Designed for Control.

You can change the language of demo text as well as the menu with simple function fire on buttons click. Try it:
Example:

i18support Configuration
Step 1

To enable i18n support in your application, you need to define all translatable text. The most effective way to do this is by storing the text in an external JSON file. For example:

en.json
                                    
                                        {
                                            "dashboard": "Dashboards",
                                            "dashboard-one": "Dashboard v.1",
                                            "dashboard-two": "Dashboard v.2"
                                        }
                                    
                                
es.json
                                    
                                        {
                                            "dashboard": "Paneles",
                                            "dashboard-one": "Panel v.1",
                                            "dashboard-two": "Panel v.2"
                                        }
                                    
                                
ru.json
                                        
                                            {
                                                "dashboard": "Панели",
                                                "dashboard-one": "Панель v.1",
                                                "dashboard-two": "Панель v.2"
                                            }
                                        
                                    
Step 2

Next you need to add html indicators in all place you want to use data-lang.

                                
                                <div>
                                    <span data-lang="dashboards"> Dashboards </span>
                                    <span data-lang="dashboard-one"> Dashboard v.1 </span>
                                    <span data-lang="dashboard-two"> Dashboard v.2 </span>
                                </div>
                                
                            
Step 3

After that if you want to change the language you just need to add buttons and fire the selectedLanguage.

HTML Code
                                    
                                    <a class="btn btn-light" data-translator-lang="en"> Set EN language</a>

                                    <a class="btn btn-light" data-translator-lang="es"> Set ES language</a>
                                    
                                
Javascript Code
                                    
                                        let selectedLanguage = "en";
                                    
                                
© 2015 - HOMER By WebAppLayers
10GB of 250GB Free.
Admin Customizer

Easily configure layout, styles, and preferences for your admin interface.

Skins
Default
Two
Three
Four
Five
Six
Color Scheme
Light
Dark
Topbar Color
Light
Dark
Gray
Sidenav Color
Light
Dark
Gray
Sidebar Size
Default
Collapse
Offcanvas
Layout Position