• Hello.

    The fix you made to enable uss to get raw data is working very well for the most part.

    There is an issue when I pull out feeds and not all available languages have content. In those cases the receiver of the feed gets a post with the main language (or the one that is entered) but no content.

    Would it be possible for the qtranslate-mode=raw to insert the “Not Available Message” into the raw text as well?


    Best regards

    Terje Nilima Monsen

    https://www.ads-software.com/plugins/qtranslate-x/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gunu

    (@grafcom)

    @blue3agle

    If you put nothing between the (empty) language codes in RAW modus and
    uncheck – Hide Content which is not available for the selected language.

    Perhaps this helps.

    Thread Starter Blue3agle

    (@blue3agle)

    @gunu
    I am sorry, but I do not know what you mean. I think you may confuse GET variable https://example.com/feed?qtranslatemode=raw with the “Editor raw mode” preference setting.

    The issue is that when you use https://example.com/feed?qtranslatemode=raw then it does not pass it through the filter that adds the “Not available message” (i.e. “Sorry, this entry is only available in %LANG:, : and %.”) to the text.

    Of course this would not make the output ‘raw’ any more since it is at least partially processed, but it is desirable that this is detected and filtered.

    I would assume that you could use the same filter that adds this text in the normal output to add the text to the ‘raw’ (now semi-raw) output.

    Plugin Author John Clause

    (@johnclause)

    This is a new feature request, which does not seem to be of common demand. Why do you need it? Cannot you parse it on your end, and put your custom message, if really needed?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘qtranslate-mode=raw’ is closed to new replies.