Sorry - only unintelligible instructions exist for this plug -in! :)
To answer your first question, let's go though the installation step-by-step...
1. Upload the 012 Ps Multi Languages folder to the plugins directory in your WordPress installation
That's pretty straightforward; even easier would be to download the plugin via the plugin admin panel. You can install it, but don't activate it yet! The plugin relies on a configuration file that you configure in the next step.
2a. You can Sample file from (_config.php), to add the multilingual and rename from _config.php to config.php( if multi site can config-$blog_id.php )
So, in the plugin directory, under the
012-Ps-Multi-Languages folder, you'll find a folder called
config. In that folder is a file called
_config.php. There are five things to do here:
config.php then edit it,
b) Define the languages supported by your site,
c) Define the multilingual codes associated with those languages,
d) Define the search title in each supported language, and
e) Define the default language
In the root of the plugin's directory is a file called
multilingual_code.txt. You can search that for the languages you would like to support: the first two characters define the language, and the entire string (2-5 characters) define the code. The languages in the multilingual array re just the plain 'English' names for supported languages. So at this point, you should have completed a, b, & c.
Next define the search titles, and select a language as the default. Returning users should have a cookie set, so when they return to your site, their language selection should be retained. The default is for net-new visitors.
make dir 012-m17n-config in /wp-content/ and
move setting files to /wp-content/012-m17n-config/config ?
priority is hight of /wp-content/012-m17n-config/setting files
I believe that this configuration is for multi-site installations. I don't have a multi-site installation, but it appears that various config files would be created, each with a numerical prefix - one for each site. The config files are searched by the plugin in priority order, starting with the one with the highest prefix. Nothing to do here unless you have a multi-site installation.
3. Go to plugins list and activate "012 Ps Multi Languages".
This is pretty straightforward. When you activate the plugin, you should not receive any messages. Now, when you create/edit posts, categories, etc. in admin, you will see which languages the post, category, etc. is defined for. If you scroll down when creating a new post, category, etc. you will see that each entry field has been duplicated - one for each language. That is what the user will see when they select the language to view the site in. If there is no translation for a particular entry, the entry in the default language is displayed.
For your other questions:
- do I need to create the translated pages first or after the plugin installation? (now I just have one for testing); and when all new pages are ready do I put them n a different folder per language etc?
All of the translated text is entered directly in the admin panels. From there, all of the text is stored in the database, so there's really no folder structure to worry about.
- do I need to translate all the pages of the basic (English) site in the other languages, or it works with just some of them too?
Like I mention, if a translation doesn't exist for a particular post, it will use the default.
- in which file does the code have to be added? Is it all in the header.php?
If you are talking about the additional code I posted to display flags and language selection to the user, the
bread_crumb call has to be placed in the header, but the flag code can be anywhere (but it's usually in the header).
- I've copied the flags folder to my "uploads" and added the link in the code but...
uploads is where all of your publicly-accessible images are stored, that's ok, but you'll have to manually edit the path in the flag code, as it uses the default path to the template in-use, then adds on
/images/flags/. Much easier just to copy the flags directory to
images as I indicate.
I hope this helps; it's not really a noob plugin, but it isn't all that bad either, and I absolutely love how different languages are handled in the admin panels.
If anyone has any more tips or corrections, please post!