Multilingual WordPress Website with multiple source languages
Multilingual WordPress Website with multiple source languages
Multilingual WordPress Website with multiple source languages
There’s only 2 real places a locale is defined in a vanilla WordPress install: For the site. For the user account. In the admin the user account’s locale will be used, while on the front end the site’s locale will be used. For REST API requests the user locale can be used by passing _locale=user … Read more
Translation related post text to Arabic
Block-based navigation and multi-language plugins
A way my agency has chosen to implement it in the past is through subdomains. We created the entirety of our English site as you would normally in WordPress on mydomain.com, used the Duplicator plugin to clone the site to spanish.mydomain.com, and then changed all the text on the new site. And as @MarkKaplun recommends, … Read more
Proposed solution – a new plugin A new plugin built around the blocks and possibilities of the block editor. Having translations done within the FSE / Block Editor. The description below will focus on the translations of the Block items, because solving non-block based items is probably really easy since all multilanguage plugins already do … Read more
RTL in posts only [closed]
Website Language/Locale Switching
white space appears when switch to rtl
You need to hook into get_avatar() somewhere. There are plenty of options: get_avatar() itself is pluggable, so you can just replace the function wholesale but it assembles the <img> tag from, so it might be simpler to hook into get_avatar_url(), which itself is just a wrapper around get_avatar_data(), and leave get_avatar() to still build the … Read more