We make good use of Mastodon’s interoperability with WordPress. When we recently moved our Vivaldi Tips (@tips) blog from vivaldi.net to vivaldi.com to start translating the tips, we noticed that things were a little off on the Mastodon side. Luckily we have the amazing @thomasp in our team, who ironed out every single issue we found.
One of the problems we had was the ActivityPub plugin not detecting the language tags our translation plugin (WPML) added to the posts on WordPress. Language tags allow people on Mastodon to subscribe to posts only in the languages they can read and use the translation feature, so this was an important issue for us to solve. Read about the solution Thomas came up with in his blog: https://thomasp.vivaldi.net/2025/01/14/combining-wpml-activitypub/.
To follow our Vivaldi Tips blog from Mastodon, follow @tips. Next to the Follow button, open the menu and select “Change subscribed languages” to choose the language you prefer to see our tips in.
@abj61
Indeed, the apps don't seem to have that setting, so you'll need to review your language choices in the web version.
@Vivaldi ok, i'll give it a new try with Firefox
@Vivaldi @tips This is very cool, glad that @thomasp was able to get it sorted out. Let us know if this is something we could roll into the plugin!
Also @pfefferle and I would be more than happy to chat any time to support your integration.
@mattwiebe @Vivaldi @tips @pfefferle My initial thought was that this is something that should be patched into WPML. It could be done the other way of course though, and you are more than welcome to make use of what I wrote.
@thomasp @mattwiebe @Vivaldi @tips this is awesome and it would be even more awesome if the WPML team would add support for ActicityPub!
...but we experienced, that such things might cause some time, so we host some of these integration for the meantime: https://github.com/Automattic/wordpress-activitypub/tree/trunk/integration
Feel free to file a PR on the repo and we are more than happy to support!
@pfefferle @mattwiebe @Vivaldi Thank you, I'll see what I can do.
@thomasp @mattwiebe @Vivaldi ah, found the snippet in the post! I am also happy to provide a PR and give you a ping! let me know what you prefer!
@pfefferle @mattwiebe @Vivaldi I haven't been able to test it yet unfortunately, but I submitted https://github.com/Automattic/wordpress-activitypub/pull/1166 as a starting point anyway.
@thomasp @pfefferle thanks for the PR!