Edition front/back matter in Bilara v2?

Are those just html files now? If so, they will need to be broken up into segments for Bilara to be able to work with them. And the HTML templates created.

It appears that the footnotes are broken at the moment, so it might be a good time to move things over into Bilara. BTW, since you seem to footnote sentences, you’ll want to break those paragraphs into individual segments.

2 Likes

It doesn’t have to be via bilara, but it would be good if these files were all somehow editable by the author. I have discussed this previously with Bhante @Sujato, and he indicated it was on the horizon, or at least on the to-do-list. I am definitely lacking in tech savvy, and so have no idea what can and can’t be done.

2 Likes

If you ever want anyone to translate these into other languages, they will have to be in Bilara. (@sabbamitta )

I’m sure you can edit these if you change the static html pages they are built from. But that is always dangerous because you could mess up the html.

And as I said, the footnotes are broken. Depending on how bad that problem is under the hood, it might be easier just to move up putting them into Bilara.

2 Likes

I have never thought of this possibility. I don’t have any objection in principle, but it will obviously depend on others.

What does this mean in practice? To me, bilara has Pali on the left and my translations on the right. I have no idea how an English text with no corresponding Pali can be moved into bilara. As I said, no tech savvy!

2 Likes

Blurbs have English on the left, translations on the right. So are labels, essays, etc.

3 Likes

It’s a bit of a mind bender! Took me quite some time to get used to it.

Go to https://github.com/suttacentral/bilara-data/tree/published/root, the directory that contains all the “root” texts. Normally when you think of root you are thinking Pali, Sanskrit, etc.

However, you will see this:

English as a root language. It’s crazy!

Go into that folder and you will see blurb and site

In site you can find all of the interface text (menus, etc.) as well as all of Bhante Sujato’s essays and introductions. They are broken up into segments just like Pali texts. For example:

https://github.com/suttacentral/bilara-data/blob/published/root/en/site/mn-guide-sujato_root-en-site.json

https://suttacentral.net/edition/mn/en/sujato/introduction?lang=en

So as @WayChuang said, once these texts are in Bilara, to translate it you can pick the English root texts just like you would pick a Pali root text.

But to get there, someone would need to break your English text into segments and make a file like the one above for Bhante’s MN introduction. Then they would have to make a file with an html template to be used when the texts are built for the web (either English or a translation).

And finally, the footnotes would have to be put into their own file with notes corresponding to segments (just like in the Pali translation).

The thing is, once your “root” texts (that are in English, the intros, etc) are broken up into segments for Bilara, it becomes a bit trickier to change the structure, meaning major editing where you move/delete/add paragraphs.

On the other hand, once they are in Bilara they become trivial to edit for typos, etc, just like your translations are.

Bhante @Sujato, please correct me if I’m wrong.

3 Likes

Thanks for thinking of me here, and I do in fact love translating! But I truly doubt that I have enough life time left to get to the vinaya … :laughing:

But it’s true that translating things, while not impossible if they aren’t in Bilara, is much easier if they are.

2 Likes

As far as I know, there is no way to have translations of non-Bilara texts on the site. So while someone could translate them (as you say) I don’t think there is a mechanism to display them on the site.

(PS: I wasn’t expecting you to translate them, just that you have the most experience and might have wisdom to share :slightly_smiling_face:)

2 Likes

Thanks! It’s just that there is nothing called “blurbs”, “labels”, or “essays” in my user interface. Perhaps somethinig needs to be set up?

Thank you! I’ll check this out when I get the chance.

2 Likes

Exactly. Just as your Vinaya project had to be set up long, long ago, a blurb or site texts project has to be set up before you can see those in Bilara, depending on the language you were translating them into.

3 Likes

Yes, I was joking; I should have made that more explicit. :slightly_smiling_face:

No, at least not an automated one. It would have to be done the same way as it has been done for the existing English introduction etc. files.

2 Likes

For reference, the HTML files are all located in bilara-data/_publication/en/brahmali/editions/vinaya/pli-tv-vi/matter

Bhante Sujato’s (front/back) “matter” pages are all HTML as well (in _publication/en/sujato/editions/.../matter).
So making all “Edition Matter” pages translatable as Bilara JSON would be a sizable change. Editing them as HTML within Bilara’s interface would be simpler to implement and perhaps make sense as a first pass.

What do you mean by this? Do you mean in the EPUB or something? Just for the Vinaya?
On the website the footnotes work fine for me, except that the anchors are broken in Firefox and Safari

A new bug report might be helpful.

Another planned Bilara v2 interface is a parallels UI editor

4 Likes

Ven @sabbamitta mentioned that these texts may come from a Markdown source. We really need Bhante @Sujato to chime and and let us know what is really going on. Or maybe @HongDa knows.

Yes, I’m on FF and the broken Vinaya footnotes are on the website in the front/back matter. I’ll try to make a new issue. Thanks!

3 Likes

Oh, first I’m hearing of that. The configuration files reference the HTML directly (e.g. web config) and the front-end pulls it out as HTML directly from the DB as well. So in the code at least, it’s HTML all the way through

Ven. Nadi had also edited the HTML directly (ex) as instructed by Bhante Sujato.

So I’d think that HTML is the source. Though an intermediate markdown file may exist for a simpler writing format.

Ah if it’s the same bug with the anchors not working, I asked the mods to split that into a new thread for tracking purposes. So that should be converted shortly, no need for a new issue then! If you have any new details though, please do describe them there, as I was unable to quickly root cause it

Edit: Thread has been split, thanks mods!
Edition web footnote links don’t navigate properly on Firefox, Safari

3 Likes

I don’t know about the existing ones, but I was told I can provide markdown files for my “matter” texts when starting an editions project.

Yes, it could be a one time processing from Markdown to HTML

1 Like