Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLuisa Nino
1,532 PointsQuestion language in wordpress
I live in Montreal so I have to have stuff in French. I'm working on a site for a non-profit but they installed WP in English so now things like the "continue reading", "Comment form fields", and all that is in English while the content is in French.
I started to change manually my files but then I realized it's a titanic job and there must be a way to do it from within one of the files. I can't purchase the multilingual plugin because as I mentioned, it's a non profit.
Any suggestions?
lucas lemonnier
Courses Plus Student 1,370 PointsBTW, I'm in MTL also. With most of our work needing to be in both languages, I reeeeaaaaallly wish multilingual issue was handled in core.
Luisa Nino
1,532 PointsMy install is in English but I have two sites under development, one in Spanish and one in French (independent from one another) but all my messages are in English, for example: No results, no posts found. The form fields are in English (although I installed the Contact Form 7 plug in and I translated that..) The "read more" when I want to insert a break is also in English... ughh..
So without a plugin what i've learned is that I need a theme that is translation ready, go find a pot file and a get a Poeditor and translate all the strings instead of going into every template andfinding a stray English phrase somewhere...
After that I don't know what I have to do! :)
lucas lemonnier
Courses Plus Student 1,370 PointsYou may want to look at this: http://wpmu.org/how-to-change-the-default-language-in-wordpress/
2 Answers
Zac Gordon
Treehouse Guest TeacherTry checking out this link as well. Everything can be localized.
John Locke
15,479 PointsHandy information: thank you Zac!
John Locke
15,479 PointsNot sure if there is a plug in that handles those stray pieces of text. You might have to go through the code and replace the instances with the equivalent expressions "en francais".
Here is documentation on customizing the Read More link: http://codex.wordpress.org/Customizing_the_Read_More#Customizing_the_.22more.E2.80.A6.22_text
Most of the comments template that is the HTML structure is near the bottom here: http://core.trac.wordpress.org/browser/tags/3.5.2/wp-includes/comment-template.php#L0
I would swap out the English for French, keep checking your changes for accuracy, and keep going until you get it.
Save a copy of the original WP files, so you can backtrack if you need to.
Good luck!
lucas lemonnier
Courses Plus Student 1,370 Pointslucas lemonnier
Courses Plus Student 1,370 PointsIs the wordpress install (the admin/backend) currently in French or in English? If it's in english you would probably have most of your issues resolved by making your install in French. See here:
http://codex.wordpress.org/WordPress_in_Your_Language