Translating homepage & translation related questions #189
Replies: 2 comments 6 replies
-
To translate homepage or any other page text you can use the translate function in the page builder. If you want to have different templates with different layout for each language you can activate Then you can duplicate The language code must match the language folder in Homepage is rendered using active theme's index.html and it does not have a page associated like in WordPress, pages are only used to render If you want to simulate WordPress behavior you can add a post component to homepage and choose the page you wish to show and the content will be changed according to selected language. or just insert the html with code editor <div data-v-component-post data-v-post_id="10">
<h2 data-v-post-name>name</h2>
<div data-v-post-content>content</div>
</div> You will need to redownload |
Beta Was this translation helpful? Give feedback.
-
Thank you. Let me know if you find any issue with translations. |
Beta Was this translation helpful? Give feedback.
-
I've been away for a while a taking it back up where i left it.
I managed to get everything working but I can't figure out how to translate the homepage
The way i understand it works doesn't make much sense.
admin/index.php?module=settings/site&site_id=1
Allows you to set a 'home template' but this is in the general tab, and can't be set by language
It should therefor be a lot easear if you could set the page you define as a homepage (as done in wordpress)
admin/index.php?module=content/post&type=page
Here you could then create a homepage and select a template for each language or create a homepage from scratch in every language
At the moment 'homepage' is only available in the template builder and editing will affect all languages.
I managed to install the language packs & can now edit those.
But this creates urls like fr_FR/page/portfolio-14
If i edit the translation code to fr instead, the url looks fine but i loose the vvveb translations in admin/index.php?module=localization/translations&action=domains&lang=fr so there should be a way to edit the url without it affecting the translation files, is there?
Beta Was this translation helpful? Give feedback.
All reactions