cross

Date Translator is my 3rd WordPress Plugin.This plugin is used for display date in any language that user wants.WordPress may not available in your language but you can display date in your language in your WordPress site by using this plugin. After writing about “Display Date in Any Language With PHP” I thought about to make a plugin like this.I have used the same technique to make this plugin that I described in that blog post.  

If your site is in a different language than English then you must need to display date and time in that language in your site.It is very easy to display date in any language with php. You can do this by using str_replace() function.All you have to do replace the numbers, months and day names with your wanted language’s words. Str_replace() function is used to replace parts of a PHP string with new value. I am going to create a function named translated_date_and_time() . . . .

Advertisement




Tweets

Get Emails