SuttaCentral 2021: we are live!

For me the “Side by side” and/or “Line by line” translation doesn’t work.

I’m using Windows 10 with a desktop PC, the latest version of Chrome, and a good internet connection.

I did an “Empty cache and hard reload” kind of page refresh.

I do see errors in the browser’s developer console but the *.js is minified so I can’t easily help you understand it:

image

Good news (for me):

  • I don’t get this problem with the Edge browser
  • The problem goes away in Chrome when I select one of the “Show notes and variants in segmented texts” as shown below – none of these options were initially selected by default as shown above

Even with this change I still see those error messages in the Chrome developer console.

I don’t think I see them in the Edge console (but I’m less familiar with its dev tools UI).


Edge reports several “issues” however, at least one of which may be important:

I think HTTP cache | webhint documentation is complaining about the filenames of your *.js files e.g. “main.js” and “946.js” – the thing is that each time you release a different version of the minified JS then it should have a different filename (because the old version of the JS is cached all over the placed, in users’ browsers and in proxies) – so a filename like “main-20210320-0903.js” would be normal, but a name like “main.js” seems to me to be asking for trouble – it means whenever a user reports a bug, the first thing you have to ask them is, “Could you please try to clear your caches and try again?” which is impossibly difficult for users.


This may be the same problem you were having.

2 Likes

For me the “Activate Pali word lookup” (to English) doesn’t work, neither using Chrome nor Edge (on a Windows 10 PC).

How is it supposed to work – is it like before – I’m trying to do it by using the mouse to hover over a Pali word which I displayed using the “View root text with translation” feature on one of your translations.

In this version you click on the Pali word, and the translation appears at the bottom. You can then navigate from word to word.

Ok thank you. So:

  • Clicking (or mouse-hovering) on a Pali word, which I displayed using “Activate Pali word lookup”, now does nothing (and causes no network requests). :frowning:
  • But it does work, when I click on the Pali (untranslated) version of the text.

I used to enjoy:

  • Displaying one of Ven Sujato’s translations
  • Activating “View root text with translation”
  • Using “Activate Pali word lookup” for specific words, to compare with or to better-understand the translation

That sounds like a bug. For me it works for the English-Pali display. I’m using Chrome on Linux, and I just tried it on a Windows 10 VM and Chrome and Edge work there.

I did clear cookies and cache completely. I think that helps.

1 Like

Thank you again.

My doing “Empty cache and hard reload” in Chrome wasn’t enough – but deleting everything (i.e. cache and local and database storage, service workers and cookies) using chrome://settings/siteData?searchSubpage=suttacentral was enough to fix that.

So maybe the root problem is as mentioned above, i.e. the software’s not mangling its resource names with a version-related unique id, causing stale-cache problems, and/or expecting users to delete this kind of thing themselves.

1 Like

Thank you so much, Bhante!

I’m also letting my German-speaking friends know that the site now has good support for German.

Sādhu, Sādhu, Sādhu!

3 Likes

Bhante, Sadhu Anumodana to everyone who made this possible. Rejoice

1 Like

Hello @sujato,
Please let me know when you have a provisional indexed URL, and I’ll begin testing.
Thanks!
David.

Sadhu, Sadhu, Sadhu! It had to be a lot of work with a lot of people involved. Thank you Bhante Sujato, Ajahn Brahmali and the rest of the team and supporters for bringing it to us. :anjal:

It indeed works much faster, which is a great help, especially when using in places where connection is worse (like during a travel by train etc.).

In general I think it looks much better right now and is more intuitive. I find it more inviting to explore right now. :slight_smile: I also like that even the chapters of nikayas were translated into english, it helps remember whats what.

What is also a great new feature for me is that it is easier now to link Bhante Sujato translation in a particular paragraph, just by clicking on the segment number it immediately gives link to this particular place.

My only concern is with the fact that when I use it on computer (windows 10, google chrome), I cannot turn off segment number view on Bhante Sujato translations. It is unfortunate, because when you’d like to copy the text to a friend or to your hard drive notepad or something, it copies with the numbers, so then you need to remove them manually if you want plain text. I also think it would be great to be able to view it plain just for sake of aesthethics if someone likes to. I would personally preffer version without sugmented numbers, and just turn them on only when I’d like to link particular paragraph to someone.

On the other hand, when I’m using phone (android, CM browser), I don’t see segmended numbers and can’t turn them on.

Is this issue already looked into? :slight_smile: If not, I just wanted to express that it would be great if there was an option to turn off and on visibility of segmented numbers on all devices/browsers. Especially to be able to turn off their visibility on a computer.

Aside from that, it is truly marvelous job and I feel that new version is a beautiful upgrade :yellow_heart: :anjal: Much mudita for this samma kammanta. :pray: I hope it brings great merit to those who created it, and to those who use it. :pray:

1 Like

I had the same until I saw this…

Select ‘None’ for references and you’ll be back to Zen mode viewing :slight_smile:

3 Likes

Thank you :smiley: I did not notice this, because I didn’t see the scroll bar at the bottom of the “views” menu. Now everything makes sense. :smiley:

Allright, so for me new Suttacentral is absolutely perfect. :yellow_heart: :anjal: I’m actually reading suttas everyday right now btw., it’s absolutely my favorite website presenting words of my favorite “person” - the Buddha! :grin: Thank you SuttaCentral! :partying_face:

6 Likes

Sadhu! Thank you Suttacentral! :anjal:
Except now the bilinear and parallel viewing options for texts are not working for me. What to do?
Thank you.
Dana :pray:

I have the same problem and I use google chrome as my browser.
With Metta

@sujato Bhante, you may be (painfully?) aware that the check boxes don’t behave logically, namely that if you check “none” other boxes remain checked.

I have “none” selected for references. Just now after your suggestion I selected “none” for Show notes and variants in segmented texts and it works fine.
Thanks for the suggestion.
With Metta

Thank you for the suggestion — I had the same problem on firefox and safari for MacOs, where I have to select one of the “Show notes and variants in segmented texts” boxes to get the pali line by line to work. Perhaps this should be fixed? I bet a lot more people are going to get confused by this.

1 Like

We’ll review how these options work, thanks!

1 Like

Yes, after I selected the 2nd or 3rd option in the 'Show notes and…" it works beautifully! It works both in Google Chrome and on the mobile Android.
:slightly_smiling_face: :pray:

A big big improvement, kudos to you and your team Bhante for a job well done.

Thanks everyone