/oc-translate-plugin

Helper for better multilingual website

Primary LanguagePHPMIT LicenseMIT

Helper for Rainlab.Translate plugin

Introduction

This plugin let you manage static menus of multi language websites.

Pre-requisites:

  • Rainlab.Pages plugin
  • Rainlab.Translate plugin

Features

  • Create static menu in any language you want.

Usage

  1. Navigate to settings > Manage languages. Create the languages you want. Keep in mind the code of each language, you will need it later:

image

  1. Navigate to rainlab pages plugin and in the Menus tab create all the menus you want for each language with a code suffix you already created. Let's assume you have created english language with en as a code then the menu code you should be menuName-en:

image

  1. Within layout, partial or page add the multilingual static menu component and select from drop down which menu you want:

image