<div dir="ltr"><div><div><div><div><div><div>Hi Lukas,<br><br></div>I've had a look at the lightdm-webkit-greeter API and it's missing the set_language function which is required for this to work. You can see what is required here [1].<br></div><div><br></div><div>Otherwise, the process is:<br></div>- Use lightdm.languages to get the list of available languages<br></div>- For each language use .code, .name and .territory to get information about that language<br></div>- For each user in lightdm.users get their selected language from .language<br></div><div>- After authentication is complete but before the session is started set the language by calling lightdm.set_language<br></div><div><br></div>Hope this helps,<br></div>--Robert<br><br>[1] <a href="http://bazaar.launchpad.net/~lightdm-team/lightdm-webkit-greeter/trunk/revision/20">http://bazaar.launchpad.net/~lightdm-team/lightdm-webkit-greeter/trunk/revision/20</a><br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 30 Sep 2015 at 15:10 Lukas Laufenberg | Computerwerk Darmstadt e. V. <<a href="mailto:lukas.laufenberg@computerwerk.org">lukas.laufenberg@computerwerk.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<br>
Dear LightDM Developers,<br>
<br>
We are a group of people recycling old computers and giving them away<br>
to people in need. Right now we are preparing computers for an<br>
internet cafe in a refugee camp. We need to include a language<br>
selection field into our lightdm-webkit-greeter-theme (we modified the<br>
standard antergos theme, but a language dialogue is not included).<br>
Unfortunately we could not find documentation on how to do this or how<br>
the api for this works.<br>
We are using the current LightDM version of Xubuntu 14.0.4 LTS version<br>
(1.10.5) and version 0.1.2 of the webkit-greeter.<br>
<br>
We appreciate any help,<br>
regards Lukas Laufenberg<br>
<br>
- --<br>
stellv. Vorsitzender<br>
Computerwerk Darmstadt e.V.<br>
Hochschulstraße 1<br>
64289 Darmstadt<br>
<br>
<a href="mailto:kontakt@computerwerk.org" target="_blank">kontakt@computerwerk.org</a><br>
<a href="https://www.computerwerk.org" rel="noreferrer" target="_blank">https://www.computerwerk.org</a><br>
<br>
Wundern Sie sich über die vielen scheinbar sinnlosen Zahlen und<br>
Buchstaben am Anfang und Ende dieser Nachricht?<br>
Das ist eine Signatur mithilfe der Sie die Echtheit meiner Mail<br>
überprüfen können.<br>
Diese Technologie bietet außerdem die Möglichkeit, Mails so zu<br>
verschlüsseln, dass sie nicht einmal von der NSA gelesen werden können.<br>
Wenn Sie sich näher für Verschlüsselung interessieren, informieren Sie<br>
sich über "PGP" oder sehen Sie sich die folgende Videoreihe an:<br>
<a href="https://www.youtube.com/playlist?list=PL3-bM7Aq1pUr8wiX4XFW1hxvH1SlfBtsT" rel="noreferrer" target="_blank">https://www.youtube.com/playlist?list=PL3-bM7Aq1pUr8wiX4XFW1hxvH1SlfBtsT</a><br>
Vielleicht können auch wir bald verschlüsselt kommunizieren.<br>
Es ist ganz leicht.<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2<br>
<br>
iQIcBAEBCAAGBQJWC+vqAAoJEKaMQ8eb/KJzOVAP/jikXmxU378LytCC9FeHESFS<br>
t1MtNV7QHhNuk6ymRkP4nk0BZX6p6GpL9MvxAf8GREWX2+2Zp92HjAef9CsFkgiD<br>
pKFGCDGHPZ0xYw5u9WyQ3yELjp/3WhsjkyE9d/G/ZqiGkRkCaJdmhShxytzuLt6B<br>
AimuWyWYAGEgP454+Z/X1DagCIkRoBEJGdjLUAhbE8cNmm7OsTcAi0+QFwTALs0U<br>
T/cH3LhLXxYpDmWN9GdAdMU93SXC83cWMavUN5rkQOaWgcS0XjhBlZw6ghOHNcaa<br>
FA0vm1pOu4qVcu3oLQbJUOQCv8ZWVCV6E4IPCe2QNrCMRtlAn6lQrMg8jMq9HCXy<br>
HmXEtmNl4O/LIaC1ke10jmiUr1aE5LmrJDF+UGhCKLB74ge5kqR/AWbRizQhpv53<br>
/u7JdwJRUkvqq7nbiQMZnhkj20n5F92N+TZwstO6j37uIZEjnzgXp71+owgLd0qP<br>
82HJwbHKmqFGA4KlCRd1eILEeOg9PUEe61cOhJ5Wxbl9N4u96VbanB628RyhYd+x<br>
ZNcHowQrZwYvT4ySigKgFpSBR3f5ksLZ00/xqN7DOIYWPC723wNbVHv2G5FKpV4C<br>
b/uZgTDIvhz5YE0zz33Ram8GorH/NM7iqNU83EFiUY84+e0ytK7BDgZTALwkbiVD<br>
qM+eH6d/kVK4mxBbMnyw<br>
=uZ/v<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
LightDM mailing list<br>
<a href="mailto:LightDM@lists.freedesktop.org" target="_blank">LightDM@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/lightdm" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/lightdm</a><br>
</blockquote></div>