Thanks for the follow-up. ~ We appreciate your patience.
( Translating s2Member does not work via adding .po and .mo files?)
s2Member is compatible with translation through .po and .mo files with WordPress I18n translation. Find info on this here:
Pre Sale FAQs » Can s2Member® be translated into other languages?
The reason I recommend translation through PHP as shown in the Article I posted in my previous reply is that you do not have to have your WordPress installation in a specific language for the files to work.
I’m not absolutely certain how the translation works with WPMU, but because you’re hoping to have your site automatically translated based on a User’s preference, I would recommend adding a Custom Profile/Registration Field for a User’s language, and then using this field’s value to decide the language that you should translate your site into.
See: Dashboard -› s2Member® -› General Options -› Registration/Profile Fields
Once you have made this field, you can then grab the field’s value with the get_user_field()
function. You might do something like this:
p.e. if I log in via my english login widget I am redirected to my french Login Welcome Page.
How can I achieve to be directed to my english Login Welcome Page? (or chinese, japanese?) with your proposed method?
For this, I would recommend (instead of having multiple pages), to use the same approach that I showed above, and check for the User’s language, and display the correct language based on what they have set up.
Remember that you will need a PHP Execution plugin to use PHP in a Post/Page.
See: Knowledge Base » ezPHP Plugin for WordPress®
Ok, another idea, could I simply remove the redirection to the Login Welcome Page and stay on the same page from where the login took place? Would this help to keep the language which was chosen by the user?
See: http://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect
That’s about as far as we can go with custom code. If you need further assistance, we recommend
http://jobs.wordpress.net, or another freelance web site where WordPress® experts are offering their expertise through a bid on your project.