Thanks for all the quick replies!
I'll check the links later to study them.

I try to explain what I want to achieve through this 'one file above all'. :) 1. OS detection through UA string /which is already made perfectly on aoo site/
It used to select appropriate file for downloading.
But also would be good for end up unnecessary server loads saying bots and spiders and harvesters goodbye. For all pages not for only download. Maybe it is already done.

2. To get the 'Accepted language' string from the browsers to investigate, whether is there a more complex string, than the native at first place and followed by English, always.
Like mine: /hu-hu,hu;q=0.8,en-US;q=0.5,en;q=0.3
/But supposed/: ///hu-hu,hu;q=0.8,//////es;q=0.7,//////////ru;q=0.6,////en-US;q=0.5,en;q=0.3 //Why is it good for? If a visitor comes in as Hungarian, but no Hungarian translation is available, instead of offering English pages I prefer offer Spanish or Russian subsites, because it is more
widely used by this visitor than English.

To investigate, whether is there a string, not ordered by Q values in descending order.
Let's suppose: /hu;q=0.8,///en;q=0.3,/en-US;q=0.5,///hu-hu//
To always offer the most 'needed' available subsite as mentioned above.

3. Comparing the 'accepted language' string to available subsites, a visitor could be invited to participate in more languages. In my supposed case above, not only for Hungarian translation, but for Spanish and Russian too, if they are not available at the time of the visit.

4. Based on 'accepted language' too, I could offer a 'calculated' solution. If 'accepted language' string contains only 'pt' and 'en', but no Portugese translation exist, I could offer pt-br which is closer to pt than English. As far as I suppose.

5. Checking the availability of native subsite and native downloadable program could give more precise invitaton or welcome text for the visitor.

6. Using a counter field in this csv file makes it easy to order languages not by alphabetical name but by usage, delivering a bit faster performance in searching for the visitor's 'accepted language'.

Note: sql would be better than csv, but it will be used as 'static' page with js, so csv seemed to be a good idea. I use php - since I'm unexperienced with java - to make the test and reveal the bumps.

Regards,
csaba


On 2014-09-10 05:19, Albino Biasutti Neto wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/09/14 17:47, YoheY - OpenOffice wrote:
71     "Portuguese [Brazilian] (Português [do Brasil])",
Where is the packages for translate ?

- -- Albino
         binoanb.eti.br
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUD8MzAAoJEMeHw9hY0iHa5gUP+QHurCR0fvL7a/079FiAohRY
XtaUXyigkk7T/5ta34Mu6bAksmBx3vYD491eN+MQpaDx0KafnKH8+1V7S3TMMdrK
yL8pPkUmjSTdGBRF3F2XaOEwe/TtsozKiE7s9CsYzeo9DhNLz6nZULzCmXfxtN/u
uAkRutEK2707R++7qXymW9lYjl+r/jyvL3rXKiw5xPdvEJA/34CaHRqY7bmC1WtK
J41AiweVGy1RYwWpRQgwmCXA8YrPkPvY7yd1s8TYDpaetwEQA71GUkg3AMWXX4sS
1Efxa/FqPhniZ/Hi8Jwn+RXTuqKrw2+70ew4kMb3XSf7z/Ej4UrqK5I38uJ+J4c6
7AHZRrAG7eErDcAGUg7DmMqHQ/67gZJxSqaFccVjA9uf6KzO061Q4D9XQTJ4BAVl
mHMMPRxP4yur6BltzHo5A6Liz4B6ed5Lmyi0afxhVlNmnJdjlK4o/54Oek/DJA24
Ki9gBRMtwkm37HpEC4FJUbLV0r8h5tLcTmNeCTr3/WsSWI7lbFEr+vIikRLqXoIJ
3yrEfQh9deljTsoCx+HS3HWwNsoTg5MQbfSyrdchd8h0dRpTJN5AiqCeNLczzkz6
knl9wI/qFXdoko528BDEXmzMj4D5tDhdtrERdojWmbUyGW8X4580ZDvqgb6JrIYn
cKILGqiozAzokKFtZyPe
=UF69
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail:[email protected]
For additional commands, e-mail:[email protected]



Reply via email to