Hi again hoghoi1
I'll jump in.
How to use Multi-Language Manager
(just added this heading so other folks will also find this post via forum search)
Multi-Language Manager uses a Gadget to show language selection and manage page/menu associations.
Once you have Multi-Language Manager installed, it's Gadget called "Language Select" will show automatically if your theme has a "GetAllGadgets" Area. If not, the Gadget won't show automatically.
Let's use the Bootswatch Flatly Theme:
With this theme we will have to manually add the "Language Select" Gadget to the layout.
But first I'd recommend to activate to the "Off-Canvas" layout variant of the theme im order to have a sidebar:
- Click Admin Panel ⇒ Appearance ⇒ Manage Layouts , then "Available Themes"
- On the "Bootswatch Flatly 1.0" Preview Panel click "5 Off Canvas" whicht gets you into Theme/Layout Preview Mode.
At the top left corner of the window click the green box Use this theme in a new layout
In the pop-up box check "Make default" and click Save .
You have now made "Bootswatch Flatly/5_Off-C" yout default theme/layout.
Now let's edit the layout and include the "Language Select" Gadget:
- Click Admin Panel ⇒ Appearance ⇒ Edit this Layout which will start Layout Edit Mode.
- At the right side of the page you'll see a (likely empty) light grey Sidebar area containing a darker grey field wit a dotted outline.
Hovering you mouse pointer there will reveal a Insert button. Click it.
- In the appearing popup box switch to Gadgets and select click Add in the Language Select row.
- The Multi-Language Manager Gadget is now placed in the layout and can be used.
- To leave Layout Edit Mode click « Layouts at the top left or alternatively any menu Item in the site header.
The concept of Multi-Language Manager is pretty straigt-forward: It let's you associate pages of different languages and automatically cross-links them in all menus. So, the workflow is:
1) Create a additional language page (or make a copy of the main language page and translate the content)
2) Associate them using the "Language Select" Gadget.
Let's simply go the copy-page route:
- Navigate to your Homepage.
- Click Admin Panel ⇒ Current Page ⇒ Copy (You may aslo copy pages in the Page Manager)
- You will be prompted a input for a new name. I'll name the new page "Startseite" (german for "Homepage").
After clicking the Continue button, a yellow message will appear saying that you will be redirected to the new page in 15 sec.
Let's skip this for now by simply clcking the "Home" link in the Website's main menu. We can translate the new "Startseite" later.
- As you may have noticed, when you're logged in, the "Languag Select" Gadget will show a "Admin: Add Translation" link.Click it now - the "Page Settings" box will pop up. Assuming your website's main language is English, the entry in the 1st row will be Language: English | Title: Home.
The second row provides two select boxes which will use gpEasy's Autocomplete functionality you may already be familiar with…
- Place the caret (text cursor) in the left select box in the "Language" column and type "de" (without quotes). The Autocomplete list will show a language selection (in fact it shows all available languages that contain "de" in their name or abbreviation).
The second list item will be "Deutsch/de" ⇒ Click it. Do not simply leave "de" in the input field!
- Now click the select box on the right in the "Title" column. Autocomplete will list available pages here.
Typing "st" will show "Startseite/Startseite" in the Autocomplete list. Again, clickt it. Then hit Save .
- The "Page Settings" box stays open offering to associate even more language pages with the Home page. We don't need to, so close the box and click the "Refresh this page" in the yellow message bar at the top. Or simply hit F5, Ctrl+R ot whatever your browser uses to reload a page.
- Your "Home" page is now associated with "Startseite" and gpEasy knows which languages the pages are in.
This was the main part of the Multi-Language Manager workflow. After refreshing the page you will see …
Admin: Add Translation
… in the "Language Select" Gadget in the sidebar.
Normal visitor will only see…
Clicking the "Deutsch" link will get you to the german "Home" page.
You will notice that "Home" in the website's main navigation will turn into "Startseite" now.
You now could edit this page and start translating it to german. Or you could repeat the above steps and make your whole website dual-language first and start translation afterwards. The workflow is non-linear. You decide.
There are some more things to be said about using Multi-Language Manager but this should be a good starting point.