This is part of the Stockashop Manual. It describes how multilingual sites can be implemented in Stockashop.
All the buttons and instructions within Stockashop (such as "add to basket", "checkout", "login") are currently available in English and French. We can add additional languages upon request. The Stockashop management area is available only in English. We can provide help with all other translations of page and product names and descriptions, along with new languages, if requested.
Each Stockashop site has a main language. Stockashop URLs usually look like this for the main language: https://stockashop.co.uk/pages/stockashop-manual/5785
First is the domain name (stockashop.co.uk in this case), then "pages" or "products", the title of the page or product ("stockashop-manual" here) and a number (used to identify the page or product in the database). Most Stockashops are only written in English, and so all the URLs are in the format above.
If your site has additional languages, then whenever you edit a page or product, you will see two boxes for each attribute - for example an English and French title, description, keywords, etc. (as in the screenshot on the right - note that French is the main language on this site).
Your page will then have two URLs. The alternate language version will include the language code after the domain name (fr for French for example). So if the Stockashop Manual page were available in French as well, the URLs would be:
And both of these URLs will be included in the site map sent to Google so that your English and French pages can be optimised and indexed separately.
The above convention also applies to your home page. Your site will have two home pages in the main language and alternate language. For example:
However, the first time a customer visits your home page, Stockashop will also try to detect their preferred language from their web browser settings, and show them the correct language. So if Stockashop had a French version (it doesn't - this is just hypothetical), a French visitor would be shown the French version of the home page when they visited https://stockashop.co.uk/. To get back to the English version, they would need to click the English flag in the bottom right corner.
These flags appear in the bottom right corner of every page on your site, as in the screenshot on the right. Stockashop provides a UK flag for English and a French flag for French. You can easily override these (to provide an Irish, American, Australian, Canadian, etc flag instead) by making your own flags as gifs within an images/flags/ directory, such as images/flags/en.gif and images/flags/fr.gif.
There are several other pages which behave like the home page, where the visitor will be shown the language version depending on their preferences, such as the basket page you get to after adding an item to your basket:
This page will show in English if you've been browsing the rest of the site in English, and French if you've been browsing in French.
It is very easy to change the translations for the various buttons and bits of text that appear throughout the site (like "confirm" or "quantity"). From your main Management Area, click "Text and translations" to see a list of all the bits of text used on your Stockashop. Click on any of them to make a change, as shown in the screenshot on the right.
Note that if a button has not been translated (which can happen if the button relates to a very new feature which we have not translated yet into other languages), then the English version of the button will be shown instead of the French version.
There is some debate over the most search-engine-friendly way to present multilingual site. The main options are:
Stockashop currently only implements the first method, but if you have a strong preference for using subdomain or domain instead, please let us know, and we will try to implement that too.