Articles featuring the image of late Chinese revolutionary leader Mao Zedong and U.S. President Barack Obama dressed in communist Cultural Revolution era military uniform are sold at a shop in Beijing, China, Monday, Oct. 19, 2009. Obama is due to visit China next month.
(AP Photo/Elizabeth Dalziel)
It was tough to pick a good PHP classified script for a new project. I used Google; browsed some forums; read reviews on script directories; checked classified software developers' websites (features, demos, forums, etc) & finally could make a list with a few good scripts from which I had to choose the One! 1. Some tips on how to search & choose I guess Google is often the 1st spot to start from, looking for reviews, comparisons, testimonials etc, then there are webmaster forums, the most known & with biggest database & community is obviously Forums.DigitalPoint.com , start by making a search then you could ask questions in existing threads or open your own. Once you find some scripts you can start investigate them further on Google & on forums. Make sure you are getting recent information. Checkout the features in the scripts websites too, tryout admin / user demos & visit their support forums if there are any. One source I didn't find very u
Now that you made your theme translatable , let's do the necessary to translate it. For that you will have to use a translation software, in this guide we'll use POEdit , so go ahead and download then install it. We will use POEdit to create a PO (Portable Object) file which will contain all the translatable words & phrases and optionally their translation for a specific language. If you add a translation to the PO file, you can setup POEdit to create a MO (Machine Object) file, which is the machine-readable file (the one we need to upload to the server with the theme). Note: PO files have .po extension & MO files have .mo as extension. In this guide we will create the MO file in one go with the PO file for a specific language: Launch POEdit & before anything else make sure it will automatically save a MO file every time we make or modify & save a PO file: Go to File > Preferences... , in the Preferences box choose the Editor tab, under B
As I said there's not only one method to internationalize a software but Wordpress uses the GetText method & it's the one we should use for the theme. So let's start the internationalization then next attack the localization Note: It is highly recommended to choose / make an English theme & internationalize it, much easier than to work with a non-English theme. Internationalization needs an edition of the PHP files of the theme, those found in the theme's directory. index.php, archive.php, 404.php, single.php are just examples & all themes don't have the same number of files. You also may want to make a theme from scratch & make it internationalized. First you'll have to open each of the files in a basic text editor like Notepade , or a software like Crimson Editor , which is a notepad with tags highlights and many other useful features. NVU or Dreamweaver also would be fine. Now that you opened one of the files, start looking