Open AhmetBas opened 7 years ago
@AhmetBas You don't need to do as wiki page if you just want to turn on Multilingual Page, https://github.com/jarrekk/personal-website is a template for Multilingual Page.
@jarrekk after trial and erroring i found it but i have two paths which i can edit. same names only different paths
@AhmetBas Please show me your code, maybe we can figure out problems.
@jarrekk After i cloned the github map i got this static and other files inside of this map. But after running jekyll build this map was created "_site". Inside this map i have also an map called static. So i am confused which files i have to edit since there duplicates in different paths. My root in my server configuration points it to /_site.
Hi,
I followd the wiki page of Multilingual Page.
Step 1 and 2 is done
By step 3 my index.html already has the following code
<a class="navbar-brand" href="#page-top" id="i18_title"><span data-i18n="website.title">{{ site.title }}</span></a>
In step 4 i have to add this code
$.i18n.init( resGetPath: 'locales/__lng__.json', load: 'unspecific', fallbackLng: false, lng: 'en' }, function (t) $('#i18_title').i18n(); });
Where need i put these code to let it work ?