Special tag to get "raw" (untranslated) text
-
Hello.
Let me first explain the usage scenario:
I am setting up a WordPress Network for a sports club with 38 groups. Each group will have their site in the network, and will post news English and Norwegian. The main site will be a portal, and the news feed here should aggregate the news from the group sites.The challenge:
I use Feed Pull to pull the content from the group pages. However this needs me to specify the link to each site’s feed including the language tag (https://subgroup.domain.tld/<language>/feed). This will however only give one language.Suggested solution:
Create a special “language” tag called “raw” or “all” that gives the untranslated content with language tags and all. (Example: [:no]Overskrift[:en]Heading[:])This would allow me to put the posts directly into the front site and have translations work. The only requisite for this to work is that the main site has activated support for all languages that the sub groups may use.
I am not sure if this should be available for any page and post, or just for the news feed… I see no harm in having it available for all page types, but it should not be selectable from the language switcher, as it would look weird and not be friendly to human readers.
- The topic ‘Special tag to get "raw" (untranslated) text’ is closed to new replies.