(But note that this does change the whole UI language, not just the data.)

(And for context, I’m pretty sure the reason we don’t respect
Accept-Language for anonymous users is that it would hurt caching.)

On 25.01.19 11:55, Leszek Manicki wrote:
> Hello Darren,
>
> Using uselang parameter in the URL should do the trick, if I get what
> you're up to correctly.
> e.g. https://www.wikidata.org/wiki/Q666?uselang=ja
>
> Best!
> Leszek
>
>
> On Fri, 25 Jan 2019 at 11:45, Darren Cook <[email protected]
> <mailto:[email protected]>> wrote:
>
>     I wanted to send someone a URL to show them how a data item looks in
>     Japanese (so we could see which items have a translation). But am I
>     right in thinking there is nothing I can put in the URL to do this?
>
>     I also tried changing my accept-language header to put "ja" first, but
>     it is ignored. Was this a feature that was discussed and rejected; or
>     just an itch that no-one has got around to scratching yet?
>
>     Darren
>
>     P.S. I realize I can login, change my UI to another language, and see
>     the data that way. But that is quite a long-winded process, especially
>     if the person has not created an account yet.
>
>     It also changes the whole UI, not just the data, which is painful if I
>     just want to see what has been translated but cannot read the
>     language.
>     I think for a project about data, you should be able to set the UI
>     language and the content language separately.
>
>     E.g. I just put a page into Greek (I think), and now I can see the few
>     items that have been translated, but cannot read the property
>     names! Let
>     alone navigate the site.) (The switch back to previous language
>     link at
>     the top was a great idea, though - thank-you to whoever thought of
>     that
>     shortcut.)
>
>
>     _______________________________________________
>     Wikidata mailing list
>     [email protected] <mailto:[email protected]>
>     https://lists.wikimedia.org/mailman/listinfo/wikidata
>
>
>
> -- 
> Leszek Manicki
> Engineering Manager
>
> Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
> Phone: +49 (0)30 219 158 26-0
> http://wikimedia.de
>
> Imagine a world in which every single human being can freely share in
> the sum of all knowledge. Help us to achieve our vision!
> https://spenden.wikimedia.de
>
> Wikimedia Deutschland – Gesellschaft zur Förderung Freien Wissens e.
> V. Eingetragen im Vereinsregister des Amtsgerichts
> Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig
> anerkannt durch das Finanzamt für Körperschaften I Berlin,
> Steuernummer 27/029/42207.
>
> _______________________________________________
> Wikidata mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikidata
_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata

Reply via email to