I am using wpml to translate a wordpress site I am building. I have created a custom theme and am using wp_get_archives() to show the archives in the blog section. When I switch to the french side of the site the dates do not get translated. Does wordpress not automatically have its own translation files on hand?
ok, I figured it out. I had put my custom themes .mo file in both my themes language folder as well as my Wordpress language folder. All I needed to do was replace my .mo in /wp-content/languages with Wordpress' fr_FR.mo. So now both .mo files are being included, and all dates are being translated.
Related
I have a wordpress plugin in english. I have just added .po and .mo files to the /languages folder to support Spanish. However, the localisation is not showing.
I don't believe I have to load the text-domain because I'm using a recent Wordpress version.
Do I need to add something else to make this localisation active?
I'm getting crazy because everything seems to be fine, but impossible to get a solution.
I want to translate my buddypress to Spanish.
Seems like I have everything ok:
My language files:
My wp-config
define('WPLANG', 'es_ES');
My config on dashboard: Setted to Spanish
My wordpress version : 4.1.
My wordpress is translated ok once I set the language on the dashboard, anyway the buddypress language does not change.
Any Idea about what could be wrong here??
You need to create and upload the buddypress-es_ES.mo file. The .po files are used to create the .mo file. You don't need to upload the .po files.
I'm building Arabic only website, I'm using the woocommerce, i added the Arabic mo and po files to the woo commerce plugin, and the translation working good in the wp admin pages, but it's not working in the public pages the English language keeps appearing.
I tried other languages like french it works fine for both admin and public pages.
Is it because the Arabic is RTL language or it's something else, any one know what is the problem???
My site: www.yasmeenart.com
does your file
wp-config.php
have this line ?
define ('WPLANG', 'ar');
also when you upload your .po and .mo files to woocommerce, files should be this name:
woocommerce-ar.mo
woocommerce-ar.po
I am building a Wordpress blog system in Spanish and I'd like to have the default theme also translated to "es_ES". I am already running this Wordpress installation in Spanish. What I'd like to know is how to do the same with the default theme (twenty-eleven).
This site allows us to download the po file with the translation: http://translate.wordpress.org/projects/wp/3.2.x/twentyeleven/es/default
But I don't know what to do next...
I'd like to know the process. For I have downloaded the PO and MO files from translate.wordpress.org/projects/wp/3.2.x/twentyeleven/es/… and then uploaded them to domain.com/wp/wp-content/themes/twentyeleven/languages however no change occurred...
Thanks.
This post helped me to understand: http://urbangiraffe.com/articles/translating-wordpress-themes-and-plugins/
The missing information in this tuto is that the languages files must be named just like this: if wordpress is set to "es_CL", the .po and .mo files must be named es_CL.po and es_CL.mo and put in the language folder of the theme.
If the file config.php is correctly set to "es_CL" than the system will use the right language files.
my question is about Wordpress.
Is there a way to get access to the phrase, going after a single post?
"Enjoy this article
If you have enjoyed this article consider subscribing to our RSS Feed"
Thanks a lot)
In WordPress, content in your site that is not controlled in the Posts, Pages, Widgets or Links in the Administration area almost always will be found in the .php files in your theme.
So to find the test "Enjoy this article" you'll need to get familiar with editing theme files. It's likely that this text is in a file called index.php and/or single.php, though may be in other places also.
If your website resides in a folder called public_html, and wordpress is installed in a directory called blog, then your theme files will be at this path: public_html/blog/wp-content/themes/{theme_name}/. You will need to edit the index.php and/or single.php files at this path, where {theme_name} is the directory of your active theme.
Best of luck!
For more information on WP theming, editing, and what the different files are for, see this very useful tutorial.
http://www.wpdesigner.com/2007/02/19/so-you-want-to-create-wordpress-themes-huh/