Mea Culpa! Should now again work as expected...
We will try to add Estonian back when we had a look at the code. Maybe it is only missing an "et" entry at some other place? Regards, Matthias Am 12.11.20 um 14:44 schrieb Matthias Seidel: > Hi Dave, > > Am 12.11.20 um 14:10 schrieb Dave Fisher: >> A clue is that Korean is the language prior to Lithuanian. So we have the >> indexing problem I mentioned in the js code. >> >> Note that these arrays are defined to have 2 elements, but the code in >> scripts/ooo.js thinks that there are 3. >> >> // Query if the browser language is one of the released languages. >> >> >> // The array has 3 elements per language (defined in >> "/download/globalvars.js" >> >> for( var i = 0, j = DL.SEL_LANG.length; i < j; i = i + 3 ) { >> // If the ISO code is found in the language array. >> >> >> if( DL.SEL_LANG[ i ] === lang_iso ) { >> // Query for the redirect method (defined in >> "/msg_prop_l10n.js", column 0). >> >> lang_mode = l10n.index_redirect_text[ i / 3 * 2 ]; >> lang_text = l10n.index_redirect_text[ i / 3 * 2 + 1 ]; >> break; >> } >> } >> >> Ugh! This needs to be fixed. > It may have gotten wrong when I inserted "et" to the list? > > Will remove it to see if that was the problem, but of course we should > have a closer look at the logic... > > Regards, > > Matthias > >> Regards, >> Dave >> >> >>> On Nov 12, 2020, at 4:58 AM, Matthias Seidel <matthias.sei...@hamburg.de> >>> wrote: >>> >>> Hi Dave, >>> >>> Am 12.11.20 um 13:53 schrieb Dave Fisher: >>>> I’m looking at /msg_prop_l10n.js and l10n.index_redirect_text. The only >>>> language that is not “none” or “soft” is Lithuanian. That is set to “hard”. >>> I tried to set it to "soft" for lt but that didn't really work better. >>> Estonian doen't work either. >>> >>> That said, I don't know when it stopped to work, but it definitely >>> worked for lt some time ago. >>> >>> Matthias >>> >>>> (I really do not like this l10n.index_redirect_text array as it counts on >>>> the array index to match the language which means adding languages is a >>>> major problem with 80 variations of this js file which should be 2x the >>>> number of languages we support and that count is off.) >>>> >>>> There is no /lt/msg_prop_l10n_lt.js and there is a >>>> /lt/download/msg_prop_l10n_lt.js >>>> >>>> Regards, >>>> Dave >>>> >>>>> On Nov 12, 2020, at 4:35 AM, Aivaras Stepukonis <astepuko...@gmail.com> >>>>> wrote: >>>>> >>>>> I see you've already turned soft re-direction on, right? I'm seeing the >>>>> Korean notice now in Firefox set to LT-lt. >>>>> >>>>> Regards, >>>>> >>>>> Aivaras >>>>> >>>>> 2020-11-12 14:32, Matthias Seidel rašė: >>>>>> Am 12.11.20 um 13:29 schrieb Aivaras Stepukonis: >>>>>>> Better soft than none. Though a working hard would be the best (no pun >>>>>>> intended!!!). >>>>>> We will see if it works... >>>>>> >>>>>> Something is wrong here! ;-) >>>>>> >>>>>> Matthias >>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Aivaras >>>>>>> >>>>>>> 2020-11-12 14:26, Matthias Seidel rašė: >>>>>>>> Am 12.11.20 um 13:22 schrieb Aivaras Stepukonis: >>>>>>>>> Yes, for German, no for Lithuanian. But here's the funny bit: For >>>>>>>>> German, the text in the yellow box is Asian characters. >>>>>>>> Lithuanian is set to "hard" redirect, we could test if a "soft" >>>>>>>> redirect >>>>>>>> would work? >>>>>>>> >>>>>>>> Matthias >>>>>>>> >>>>>>>>> Regards, >>>>>>>>> >>>>>>>>> Aivaras >>>>>>>>> >>>>>>>>> 2020-11-12 14:17, Matthias Seidel rašė: >>>>>>>>>> Am 12.11.20 um 13:14 schrieb Aivaras Stepukonis: >>>>>>>>>>> Switching the browser UI to German did nothing. I'm still taken to >>>>>>>>>>> openoffice.org. >>>>>>>>>> But do you see a yellow (somehow) box saying that this site is also >>>>>>>>>> available in "Deutsch"? >>>>>>>>>> >>>>>>>>>> *This* is soft redirection. >>>>>>>>>> >>>>>>>>>>> Regards, >>>>>>>>>>> >>>>>>>>>>> Aivaras >>>>>>>>>>> >>>>>>>>>>> 2020-11-12 14:07, Matthias Seidel rašė: >>>>>>>>>>>> Can you set your preferred language to German or Korean and test >>>>>>>>>>>> the >>>>>>>>>>>> soft redirection? >>>>>>>>>>>> As said, for German it always worked... >>>>>>>>>>>> >>>>>>>>>>>> May be it is a problem of the "hard" redirection. >>>>>>>>>>>> >>>>>>>>>>>> Regards, >>>>>>>>>>>> >>>>>>>>>>>> Matthias >>>>>>>>>>>> >>>>>>>>>>>> Am 12.11.20 um 13:04 schrieb Aivaras Stepukonis: >>>>>>>>>>>>> I don't think it's an issue with Firefox. I've tested it on >>>>>>>>>>>>> Chrome, >>>>>>>>>>>>> Edge, and Opera. Neither one re-directs to >>>>>>>>>>>>> https://www.openoffice.org/lt/ >>>>>>>>>>>>> >>>>>>>>>>>>> Regards, >>>>>>>>>>>>> >>>>>>>>>>>>> Aivaras >>>>>>>>>>>>> >>>>>>>>>>>>> 2020-11-12 13:59, Matthias Seidel rašė: >>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Am 12.11.20 um 11:25 schrieb Matthias Seidel: >>>>>>>>>>>>>>> Hi Aivaras, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Am 12.11.20 um 10:53 schrieb Aivaras Stepukonis: >>>>>>>>>>>>>>>> Hello, >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Visitors of openoffice.org used to be redirected to their >>>>>>>>>>>>>>>> language >>>>>>>>>>>>>>>> sub-sites. This feature stopped working a while ago. Does >>>>>>>>>>>>>>>> anyone >>>>>>>>>>>>>>>> know >>>>>>>>>>>>>>>> why? >>>>>>>>>>>>>>> "Soft" redirection works for German... >>>>>>>>>>>>>>> I had a look, for the LT page "hard" redirection is enabled. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Do you use Firefox? I think I had issues with that some while >>>>>>>>>>>>>>> ago... >>>>>>>>>>>>>> With Firefox I used to be able to test redirection by setting the >>>>>>>>>>>>>> preferred language for web content. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Now that only works with some languages (Korean being one)... >>>>>>>>>>>>>> My guess is that it is a problem of newer Firefox versions. >>>>>>>>>>>>>> >>>>>>>>>>>>>> BTW: Redirection is defined here: >>>>>>>>>>>>>> >>>>>>>>>>>>>> https://svn.apache.org/repos/asf/openoffice/ooo-site/trunk/content/msg_prop_l10n.js >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Matthias >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Matthias >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Aivaras >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> --------------------------------------------------------------------- >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> To unsubscribe, e-mail: l10n-unsubscr...@openoffice.apache.org >>>>>>>>>>>>>>>> For additional commands, e-mail: >>>>>>>>>>>>>>>> l10n-h...@openoffice.apache.org >>>>>>>>>>>>>>>> >>>>>>>>>>>>> --------------------------------------------------------------------- >>>>>>>>>>>>> >>>>>>>>>>>>> To unsubscribe, e-mail: l10n-unsubscr...@openoffice.apache.org >>>>>>>>>>>>> For additional commands, e-mail: l10n-h...@openoffice.apache.org >>>>>>>>>>>>> >>>>>>>>>>> --------------------------------------------------------------------- >>>>>>>>>>> To unsubscribe, e-mail: l10n-unsubscr...@openoffice.apache.org >>>>>>>>>>> For additional commands, e-mail: l10n-h...@openoffice.apache.org >>>>>>>>>>> >>>>>>>>> --------------------------------------------------------------------- >>>>>>>>> To unsubscribe, e-mail: l10n-unsubscr...@openoffice.apache.org >>>>>>>>> For additional commands, e-mail: l10n-h...@openoffice.apache.org >>>>>>>>> >>>>>>> --------------------------------------------------------------------- >>>>>>> To unsubscribe, e-mail: l10n-unsubscr...@openoffice.apache.org >>>>>>> For additional commands, e-mail: l10n-h...@openoffice.apache.org >>>>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: l10n-unsubscr...@openoffice.apache.org >>>>> For additional commands, e-mail: l10n-h...@openoffice.apache.org >>>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: l10n-unsubscr...@openoffice.apache.org >>>> For additional commands, e-mail: l10n-h...@openoffice.apache.org >>>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: l10n-unsubscr...@openoffice.apache.org >> For additional commands, e-mail: l10n-h...@openoffice.apache.org >>
smime.p7s
Description: S/MIME Cryptographic Signature