Hi All,
I have raised a proposal for this and as I try to find a temporary solution, when somebody put main URL into RSS reader (like Feedly) they will be suggested not only for main url RSS feed but also for any translated there, I come out with this:
{{- with .Site.GetPage "/" }} <!-- Because I want RSS in header on every page -->
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ range .Translations }} <!-- If other languages present output RSS for them as well -->
{{- $titleLang := .Title }}
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $titleLang | safeHTML }}
{{ end -}}
{{ end }}
{{- end }}
Sharing here in case somebody will not look through GitHub.
For explanation please see the proposal.