[openstreetmap/openstreetmap-website] Support more than 1 diary language (#2974)

Andy Allan notifications at github.com
Mon Dec 28 12:06:43 UTC 2020


I appreciate the problem, but I think this proposal will create more problems than it solves. If you have one diary entry with two languages, it's not possible to record which parts are in which language. So if you follow a language-specific feed, the user will see text not in the language that they want to see, which defeats the point.

Another option would be for each diary entry to contain multiple blocks of text, and each block of text can have an assigned language. That way, for language specific feeds, you can show only the block of text with the correct language. But that opens more cans of worms - trying to ensure that the different blocks of texts are about exactly the same subject, etc etc.

So having to post two diary entries is a limitation (mainly that it splits comments, but also that the entries aren't linked in any way) but also has its advantages (in language-specific feeds). So it appears the proposal has some unwanted side effects.

Given this, and that it is a problem only affecting a small number of diary entries, I think the work involved outweighs the benefits, and so I'm going to close this issue.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2974#issuecomment-751690699
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201228/ff6bf449/attachment.htm>


More information about the rails-dev mailing list