Localization is very important if you want your applications to be used world wide. These days I was trying to create a WordPress plugin and my last job is localizing it in Chinese version. WordPress uses the gettext libraries and tools for i18n (internationalization). Though PHP provides a great built-in functions for localization, WordPress defines its own function __() to handle the job. In WordPress developer website, they only provide the direction but not the details about how to localize the plugin. I spend two days to successfully localize my WordPress. I find the materials is not enough on WordPress website and it’s better to gather all information in one page. Therefore, I decide to write this WordPress plugin localization guide. This tutorial will demonstrate how to localize a WordPress Plugin step by step.
Read more
Git Tutorial for Beginners
Today, everybody is using Git to manage project version control job. Here I don’t want to mention how hot the Git is. But I want to say that if you don’t know how to use Git, you will be out of the IT industry. As an old IT developer, I has been working on SVN for several years. To be honest, it is tough to move from SVN to Git, though Git is a little bit similar with SVN. However, we must follow the trend. The best way to learn how to use Git is starting a new project and using Git to manage the version control in command line. In this post, I will record how I start my first project with Git. I think it will be very helpful for another people who is new to Git. As a beginner, I may make some mistakes here. So please leave a reply if you find any mistakes.
Read more5 Tips to Clean Hacked Joomla Website
This is my first time to realize how important to keep a website secure. Actually, it is my second time as my another WordPress website got hacked several months ago, and I posted an article “5 Steps to Clean Hacked WordPress Website” to share how I clean my WordPress website from hacking. But this time, the job is much tougher. Joomla is more complicated than WordPress (of course more powerful). Therefore, clean a hacked Joomla website become a very annoying job.
Read more
Linux Cloud Server Configuration Handbook
Cloud computing is famous since early 2000. Now it becomes to be necessary for any companies who want to host a website, run an online service, or start e-commerce business. To cut the cost, Linux will be the first choice, just because it is powerful but free. However, for people like me who don’t have any experience with Linux server, it could be a little bit hard to handle. I think it will be helpful to share my 3 days experience on Linux cloud server.
Read more
China 101 Guide for Business: Build Website in China
China now becomes to be the 2nd world’s largest economies, and no one can ignore this huge market. Though the internet can expend the business cross the border, there are still lots of difficulties when we are doing online business targeting to Chinese market.
When I stayed in Singapore, the biggest problem for online business targeted China market is always the accessibility. This was a headache problem at that time. I setup a website to sale stuff to Chinese. However, my website was not reachable from China. After investigating the problem, my website hosting IP is banned by Chinese government. The fact is because of some policy issues, people inside China may not be able to access all websites out of China.
To make my website accessible, I switch to a Hong Kong hosting service. Then the second problem came out. The second problem for online business is connection speed. The slow connection speed will significantly affect the user experience when customers access the website from China.
Read more