jarrekk / Jalpc

🍎Jalpc -- A flexible Jekyll theme, 3 steps to build your website.
https://jarrekk.github.io/Jalpc/
MIT License
1.01k stars 1.1k forks source link

Adding Multilingual Page doesn't work! #77

Open AhmetBas opened 7 years ago

AhmetBas commented 7 years ago

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 ?

jarrekk commented 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.

AhmetBas commented 7 years ago

@jarrekk after trial and erroring i found it but i have two paths which i can edit. same names only different paths

jarrekk commented 7 years ago

@AhmetBas Please show me your code, maybe we can figure out problems.

AhmetBas commented 7 years ago

@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.