I have a project with WordPress for a multi-language, multi-country site.
I want to have a structure like:
domain.com
domain.com/es
domain.com/de
domain.com/fr
domain.es
domain.es/en
domain.fr
domain.fr/en
domain.de
domain.de/en
I was wondering if anyone had any useful articles, tips or insights. The idea is that the .com site be the 'parent' site. The other satellite sites would be in their native language by default, but might have other languages available. Ideally, each individual satellite site could have some leeway to have styles/content that would be different than the parent site.
I also want the parent site to use canonicalization, so that the 'satellite' (country-specific, top-level-domain) sites have priority.
I guess I'm most curious to know about:
Domain mapping and compatibility with WMPL
Thanks
I use "Polylang" in all my projects and it works perfect for me. Polylang does 2 things:
1) Creates siblings for post and pages, connected through ID, so you may write a post in english and then a "spanish sibling" with different contents but connected to the other, so when you do the language switch it displays the desired languahe.
2) Automatically creates a sub route in your WordPress URL (like yourdomain.com/en and yourdomain.com/es) so it matches and changes the desired language interface. You may even use functions on your templates to switch some contents by language on the same template file. You may add and define as many languages as you want.
Important: this is not a plugin for "auto translate" contents, its more like an option to create multilingual sites.
You may find Polylang here: Download Polylang from WordPress Plugins
If you're interested on using Polylang on your templates, here you could find a solution for calling different contents according to the language selected by the user: Multiple headers by language using Polylang
I hope this work for you.
Greetings!
I want to like WPML because I purchased it, but it just never works well for me and I always end up using Polylang.
update I recently used WPML for project and the latest version worked extremely well for me. Polylang is still great and my latest experience with WPML is even better than Polylang.
Related
I have one multisite with one custom post-type and multiple taxonomies and posts are generated using a third-party application.
Now I want to create a German addition site where content from the third-party application will be German and I want to show post listing with German translated strings, taxonomies, etc.
Any suggestion on how to achieve this?
If I understand correctly, I recommend using this plugin.
It works by automatically translating anything.
There are also various other options that can help you.
Link: https://pl.wordpress.org/plugins/google-language-translator/
Maybe I'm missing something here, but I really can't find any answer to my question around the web.
I'm working to add multilingual support to the text of a custom WordPress theme. The website, for the most part, has been developed off of ACF fields; & I'm unsure as to how to access the .po files associated with these text fields.
I've followed some steps outlined in a previous Stack Exchange question, (about a similar matter) using Poedit to translate the default WordPress text from the theme.pot file, however this does not include the text input via the ACF plugin.
Additionally, I already have all the translated text for the website, so we would like to avoid licensing any 3rd party software/development tools, such as automatic translation plugins.
There are some plugins, most of them are not free and I had problems with the others.
How many languages do you want to support?
Most of the time I clone the website to a subdomain en.example.com and translate it there or install wordpress as a multisite.
Regards Tom
I'm new to wordpress, and I want to know if it is possible to put a theme bought on shapedtheme.com for example on an existing wordpress.
And if so, how to do it. I don't know where to put the code of the theme. I saw the wordpress page builder with text, but I see tags with [] and not <>.
I saw on this thread that pages can be linked to php files. I don't see how.
I have full access to the hosting service's filesystem and can see all wordpress files.
I would also like to transpose the theme header and footer and if possible, use the theme cards to adapt to blog articles written in wordpress.
How can I do this ?
I searched for tutorials on google or related threads on SO with no luck.
Any ressource would be appreciated.
Thanks to anyone who will take the time to read/answer this post.
No, you can't use a non-WordPress theme in a WordPress installation since WordPress will look for specific templates and pass certain objects to the template to be displayed.
You could adapt it to work with WordPress, though. Here's the theming guide to get you started.
But you'll probably be able to find a WordPress-ready theme with the features you want. This is the WordPress theme directory link for themes using bootstrap.
Unless you go for a from-scratch development of a pure php theme, and you need some level of theme customization I'd strongly suggest looking into child themes, as it'll allow you to update the base theme minimizing the changes you'd have to do to yours.
The [ ] syntax you mention are shortcodes, small, safe php functions that can be executed by inserting them in the editor, templates, etc, and provide kind of an api that exposes WordPress or plugins functionality.
And regarding your link, OP already has a WordPress theme, but is looking for a way of using a different, specialized template on specific pages. This template still has to follow to certain WordPress conventions.
I'm looking for a simple plugin for WordPress to be able to switch the language on the front-end.
I tried many plugins no one worked. I just need to prefix my page path with something like /en/my_page and transform it to /fr/my_page when I select French as the current language for instance.
I also have spent in the past quite a lot of time looking for a plugin to create sites in various languages.
The only plugin I would recommend is Qtranslate https://wordpress.org/plugins/qtranslate/
Its very simple, and easy to customize the front-end template using shortcodes.
I have developed a free plugin for that purpose here:
https://code.recuweb.com/get/language-switcher/
It has been reviewed and hosted by Wordpress here:
https://wordpress.org/plugins/language-switcher/
Language Switcher allows you to map urls of alternative languages for Post Types and Taxonomies. Additionally it allows you to filter archive pages by language.
To prefix your pages with the language code I recommend you to follow these steps:
create a main page with slug en and another one with slug fr.
set my_page with parent page en and ma_page with parent page fr.
map the urls of the translations in my_page and ma_page
add the shortcode [language-switcher] to allow readers to jump from one page to another
I have a project in which the client needs the site to support 5 different languages. After some research on Google and here, it's clear the two ways to do it would be either using Multilingual plugins or Multi-site.
My question is, if I were to use the wordpress plugins such as qTranslate, how would the other plugins work, i.e slideshows, testimonials etc. For example, most of the slideshow plugins comes with only a single title fields. In that sense, is using plugins for the translation still efficient keeping in mind that I am going to be using sidebars and other plugins which don't support multingual? Or using the Multi-site is the only option?
At the moment I am developing a multilingual site, and I am using wpml.org plugin, and it works awesome the flow is like this:
you can publish translations for posts, pages, custom post types and taxonomies
you can easily translate menus
you can translate strings
you can translate media captions, titles, and so on
you can translate any plugin output in both admin and site
I strongly recommend it. Let me know if you need more details.