Translate aMember to another Language
From AMember Pro Manual
Starting from version 3.0.0, aMember is multi-lingual. All frontend (user-side) messages are located in a single file and can be easily translated. It is even possible to enable several languages and user will be able to choose interface language while navigating on aMember pages.
[edit] How To Translate aMember?
- Go to amember/language/ folder. You will see existing language files.
- Copy file en.php to, for example yy.php (use your language common abbreviation)
- Copy file en-def.php to, for example yy-def.php (again use common abbreviation instead of yy)
- Edit file yy-def.php using your favorite text editor. Replace en, English, en_US to appropriate values
- Go to aMember CP -> Languages and enable your new language. Everything should work without PHP errors
- Open your signup page - it must be opending without any errors
- Edit file yy.php using your favorite text editor, translating line by line to your language. Periodically check that you did not broke PHP syntax during translation, by reloading aMember signup page (for example each 20 lines).
- Once translation is complete, please pack your yy.php and yy-def.php files and send us via https://www.amember.com/support/ We will be happy to provide a free aMember license key or unlimited upgrades of the script to contributors (Please contact us before translation if you need this).
