Adam
asked on
Wordpress - English admin with a French front-end ???
Hi there!
I am creating a site using Wordpress and would like to have the admin or backend to be in English but have the front-end to be in French. Now, for the most part, I realize that the content that will appear on the front-end will be the content that I end up inputting. However, I am thinking more of the little bits of text that appear that are from Wordpress itself (i.e. comment forms, dates, etc).
I know that Wordpress comes in many different languages but I haven't been able to find a solution to use one language for the admin and a different language appear on the front-end. Any ideas?
I am creating a site using Wordpress and would like to have the admin or backend to be in English but have the front-end to be in French. Now, for the most part, I realize that the content that will appear on the front-end will be the content that I end up inputting. However, I am thinking more of the little bits of text that appear that are from Wordpress itself (i.e. comment forms, dates, etc).
I know that Wordpress comes in many different languages but I haven't been able to find a solution to use one language for the admin and a different language appear on the front-end. Any ideas?
ASKER
Thanks for the reply gwkg.
I have looked over the documentation for translating Wordpress in the past - however, I guess I was hoping for a little more direction regarding my particular situation.
I'm not looking to translate all of the text from Wordpress - only the text that appears on the front-end. Is there any way to determine which text appears only on the front-end? Is it possible to only partially translate a Wordpress installation? If I were to apply any updates in the future, will it override any of my provided translations?
Sorry for all the questions. As mentioned, I think what I'm looking to do may be a little different so I'm not sure if the Wordpress documentation covers what I'm looking for (unless I'm just overlooking something - which is also a possibility :-)
I have looked over the documentation for translating Wordpress in the past - however, I guess I was hoping for a little more direction regarding my particular situation.
I'm not looking to translate all of the text from Wordpress - only the text that appears on the front-end. Is there any way to determine which text appears only on the front-end? Is it possible to only partially translate a Wordpress installation? If I were to apply any updates in the future, will it override any of my provided translations?
Sorry for all the questions. As mentioned, I think what I'm looking to do may be a little different so I'm not sure if the Wordpress documentation covers what I'm looking for (unless I'm just overlooking something - which is also a possibility :-)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank for the suggestion Munnday. Seems to work like a charm.
WordPress's developers chose to use the GNU gettext localization framework to provide localization infrastructure to WordPress. gettext is a mature, widely used framework for modular translation of software, and is the de facto standard for localization in the open source/free software realm.
gettext uses message-level translation — that is, every "message" displayed to users is translated individually, whether it be a paragraph or a single word. In WordPress, such "messages" are generated, translated, and used by the WordPress PHP files via two PHP functions. __() is used when the message is passed as an argument to another function; _e() is used to write the message directly to the page. More detail on these two functions:
__($message)
Searches the localization module for the translation of $message, and passes the translation to the PHP return statement. If no translation is found for $message, it just returns $message.
_e($message)
Searches the localization module for the translation of $message, and passes the translation to the PHP echo statement. If no translation is found for $message, it just echoes $message.
Source: http://codex.wordpress.org/Translating_WordPress