Here Are the Ways To Change Language From English in OpenShift Hosted WordPress In Case Your Language is Not English. There Are Many Ways. So far, our Installing WordPress on Free OpenShift PaaS video guide appearing to be somewhat a good hit after a year. There is also easy to follow textual guide to install WordPress on OpenShift. You will notice on the comments part, that one user has asked how to change the language in WordPress from English in OpenShift Hosted WordPress. Not everyone can be expected to have excellent grip on WordPress CMS or command line, so we are clearly pointing towards two major ways – one for users who already running English version of WordPress and want to change it in easy way and another way is a bit difficult.
Change Language From English in OpenShift Hosted WordPress : The Easy Way
Take that, this is the website under question :
1 | http://thecustomizewindows-abhishekghosh.rhcloud.com |
We have installed Plugins and they are showing their functions too. WordPress Plugins, by default works on OpenShift unlike Heroku Cloud, where we need to work a lot to make PHP zlib working. Heroku will always have a free usage tier for the Facebook tie-up. AppFog went paid, uncannily we thought it will have a free usage tier. OpenShift is easier to use than Heroku. So, you will just install a Plugin :
---
1 | https://wordpress.org/plugins/user-language-switch/ |
“User Language Switch allows each backend user to set the language displayed in the back-end and front-end of the site.” That is possibly what the users want.
Change Language From English in OpenShift Hosted WordPress : The Developers Way
Developers way is quite painful way, can make even advanced users like us to become fearful. Here is where all the custom language version of WordPress resides (at the time of writing this article) :
1 | http://wpcentral.io/internationalization/ |
For example, Bengali is my Native Language, so I will point towards :
1 | http://bn.wordpress.org |
So the needed zip file to install WordPress will be a custom one (for normal server installation) :
1 2 3 | http://bn.wordpress.org/wordpress-3.9-bn_BD.tar.gz # got from here # http://bn.wordpress.org/releases/#latest |
But, the basic thing is that; we can not use the usual version of WordPress directly on OpenShift – it is not impossible – one can setup a MySQL database instance and a PHP application instance and use Command Line Tool for Red Hat OpenShift to wget and install custom version of WordPress.
Normally OpenShift uses git :
1 2 3 | https://github.com/openshift/wordpress-example.git # where wp-config is: https://github.com/openshift/wordpress-example/blob/master/.openshift/config/wp-config.php |
It is expected that you’ll go through the custom cartage development kit or follow their guide :
1 | https://www.openshift.com/developers/deploying-and-building-applications |
We will not talk about OpenShift specific development, that is basically why OpenShift official community is intended for. So, you will wget the language specific version on your computer, make it a git dev app and make the changes, push it to either GitHub or somewhere you love to host the code.