provide language selection as URL parameter
We should have the possibility to provide the wanted language for the FAQ via URL parameter. If that were available, we could invoke the FAQ from inside cgeo using the language of the cgeo app. That way a German user would immediately land on the German version of the FAQ.
If he has set up his browser / system language correctly it should be opened in the user locale by default. On the other hand this is easy to implement.
@SammysHP I've already implemented this locally.
/faq?lang=de
I'll make a pull request together with my fix for #153.
At least on my phone just going from the app (with German localization) to the FAQ does not lead to German text. I'm not thinking I have anything set to English on my real device.
Works fine here.
What link within the app are you trying @Bananeweizen @SammysHP ?
@Lineflyer In "about c:geo" faq.cgeo.org.
Ah, you are right. I get the German version, but the first paragraph of the FAQ itself is not translated, only the questions underneath. That made me think I had the English version.