-
Notifications
You must be signed in to change notification settings - Fork 1
Changing language doesn't work when the language is defined in the page #746
Comments
hmm. I cannot reproduce this. I did these steps: on a latin library text default language in settings set to greek |
to repro: |
@irina060981 can you try investigating this? Thank you! |
I couldn't understand it quitely As I could see steps are the following: These steps I could guess from the description and screenshots. But no I am confused :) |
Irina,
try the following. go to
https://www.loebclassics.com/view/augustus-res_gestae/1924/pb_LCL152.345.xml?rskey=U4vflA&result=1
and log in. text is in both languages, latin and greek. activate alpheios
(page language is Latin), double click on a greek word. it will say that
the word is not found in the Latin resources, wrong language? change to:
select greek from drop-down.
double click again to an other greek word, you will still get the same
message over and over.
…On Tue, Aug 20, 2019 at 5:47 AM Sklyarova Irina ***@***.***> wrote:
I couldn't understand it quitely
As I could see steps are the following:
- options page language = greek (then when you double click any word it
tries to search all in greek, if other is not defined in page layout
directly)
- lookup language doesn't update from the page language setting (that's
why it has Latin)
- double click on any word - it shows the message - no in Greek (got from
settings) - change to Latin?
- you change to Latin (it updates page setting to Latin) and then
double-click again
- it searches in Latin with success
These steps I could guess from the description and screenshots.
I see the same steps and even I spent time to describe it in video
tutorial because it could be rather confusing.
But no I am confused :)
@balmas <https://github.com/balmas>, @monzug <https://github.com/monzug>
, What is not working correctly here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#746?email_source=notifications&email_token=AJ32UOL7K4DBTVFLBENXYMTQFO4TNA5CNFSM4IKUMNC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4VW7PA#issuecomment-522940348>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ32UOKOQUPVLFQSDW6GDK3QFO4TNANCNFSM4IKUMNCQ>
.
|
ah... I think I see what's failing here. The Loeb site has the greek text with an ancester html element which identifies the language as latin. So the change in the select box IS taking effect, but it is being overridden by the page markup.
|
We don't actually offer the option to override the page markup. I think this one might have to wait. |
ok. but I have experienced this situation in almost all sites not just
loeb. it's just not easy to repro
…On Tue, Aug 20, 2019 at 8:56 AM Bridget Almas ***@***.***> wrote:
We don't actually offer the option to override the page markup. I think
this one might have to wait.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#746?email_source=notifications&email_token=AJ32UOOFNRYHBJWI3UXWAPLQFPSYXA5CNFSM4IKUMNC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4WF6KI#issuecomment-523001641>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ32UOOBJALF3RD2CYQAQ23QFPSYXANCNFSM4IKUMNCQ>
.
|
hmm. ok. that was what I was going to ask, if you were able to reproduce elsewhere. If that's the case, then my analysis is not correct. |
but it's correct to say that we don't override the page language when offering to change language |
I cannot reproduce it in a scenario where the language is not defined in the page markup. |
i have checked the code - and @balmas , you are right.
|
well, I would like to leave this open for the scenario we have identified. We won't probably fix it for this release but it should be possible to override page language, so we want to keep that for an incremental future release. I will update the title. @monzug if you can reproduce in another scenario, let's open a separate issue for that. |
sounds good to me.
…On Thu, Aug 22, 2019 at 8:00 AM Bridget Almas ***@***.***> wrote:
well, I would like to leave this open for the scenario we have identified.
We won't probably fix it for this release but it should be possible to
override page language, so we want to keep that for an incremental future
release. I will update the title. @monzug <https://github.com/monzug> if
you can reproduce in another scenario, let's open a separate issue for that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#746?email_source=notifications&email_token=AJ32UOIY6PKOYLXQEI2UD5DQFZ5UDA5CNFSM4IKUMNC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD443A6Y#issuecomment-523874427>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ32UOJXPCB6Q6VC2E7YNOLQFZ5UDANCNFSM4IKUMNCQ>
.
|
to repro: go to https://scaife.perseus.org/reader/urn:cts:greekLit:tlg0096.tlg002.First1K-grc1:1-4b/ |
can't wait to test this one!!!
…On Tue, Oct 1, 2019 at 1:59 PM Bridget Almas ***@***.***> wrote:
Closed #746 <#746>
via ecdebb6
<ecdebb6>
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#746?email_source=notifications&email_token=AJ32UOMQ3YFSTIG3FPCH25LQMM3SNA5CNFSM4IKUMNC2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOT6F4WZA#event-2676738916>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ32UOOOU6ZFLWD7YGIV5G3QMM3SNANCNFSM4IKUMNCQ>
.
|
qa 3.0.1.74/components 1.2.50 (crossing my fingers...) |
I haven't been able to replicate this so far. Thanks Bridget!!!!
…On Tue, Oct 1, 2019 at 2:29 PM Bridget Almas ***@***.***> wrote:
qa 3.0.1.74/components 1.2.50
(crossing my fingers...)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#746?email_source=notifications&email_token=AJ32UONEYAE45WVKLT2SM23QMM7CXA5CNFSM4IKUMNC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEABCZDA#issuecomment-537013388>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ32UOKIIZFBILDCKJL7AQDQMM7CXANCNFSM4IKUMNCQ>
.
|
still investigating this but in https://www.loebclassics.com/abstract/augustus-res_gestae/1924/pb_LCL152.345.xml?rskey=B19U2S&result=1&mainRsKey=fRpqMi |
still looking for other reproducible scenarios |
Ah, I got a little confused with this issue. The issue in the title of the bug is not fixed. I fixed the scenario when the language shown in the select box was different for some reason than the language used for lookup. But not the ability to override the underlying page language. That requires a bigger fix. |
the one reported in the bug it has been fixed or at least I was not able to
repro. not sure if this is a side effect of the fix, though. I am still
trying to find other scenarios
…On Wed, Oct 2, 2019 at 9:37 AM Bridget Almas ***@***.***> wrote:
Ah, I got a little confused with this issue. The issue in the title of the
bug is not fixed. I fixed the scenario when the language shown in the
select box was different for some reason than the language used for lookup.
But not the ability to override the underlying page language. That requires
a bigger fix.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#746?email_source=notifications&email_token=AJ32UOKF7QDM6APH3O7FIQLQMSPX7A5CNFSM4IKUMNC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAEYORQ#issuecomment-537495366>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ32UOMIYAXDCYFGPBXVIRLQMSPX7ANCNFSM4IKUMNCQ>
.
|
so, I found an other text with mix of latin and greek words and change language works like a charm. text is at https://www.thelatinlibrary.com/gellius/gellius12.shtml not sure what's the problem in https://www.loebclassics.com/abstract/augustus-res_gestae/1924/pb_LCL152.345.xml?rskey=B19U2S&result=1&mainRsKey=fRpqMi but change language does not work at all. @balmas? latin is sticky not matter if page language is Greek or Latin. |
the problem with loeb is that it explicitly identifies the language of the text as 'la' and that takes precedence over the user preference. That's why this is really two separate issues. Here's the source of the Loeb page
fixing this is more complicated than I can put in the incremental. The work around is to copy and paste the text from the page into the lookup and specify the language there. |
finally I got it!!!! sorry for the confusion. so, the issue in Loeb is a different one. will enter a new issue for this so we keep record, no need to fix it but at least it's there!!! I did enter issue #830 for our record. Thanks. |
this is related to issue #703 - the scope and title of the issue were changed. today I was able to reproduce the original issue:
when I have default language greek, and I do enter a latin word in lookup, the change language to latin does not take effect, so lookup fails. I have to select Greek and then Latin again from the drop-down in order to work.
to repro in build 3.0.0.53
have default language set to greek in options, then go to latin text. double click on any latin word, the lookup will fail with the option to change language from Greek to Latin. click on the close button, next lookup will fail again. only when switching language from latin to greek and back to latin from drop-down , the lookup will not fail.
this scenario is only reproducible when change language is from Greek to Latin (or the other way)
The text was updated successfully, but these errors were encountered: