Skip to content

AN Indonesian Translation Subchapter Adjustment#334

Open
renaldoaluska wants to merge 2 commits into
suttacentral:mainfrom
renaldoaluska:main
Open

AN Indonesian Translation Subchapter Adjustment#334
renaldoaluska wants to merge 2 commits into
suttacentral:mainfrom
renaldoaluska:main

Conversation

@renaldoaluska
Copy link
Copy Markdown
Contributor

@renaldoaluska renaldoaluska commented Jun 3, 2025

I just realized that chapters XIV and XVI have a different structure because they contain sub-sub-chapters.
Note that the .pdf source file is available here.
image
image

In comparison, the other chapters look like this:
image

That's why all the AN "division" and "subdivision" labels need to be adjusted. Here's an example for an1.296-305.html:

Before:

<li class='division' lang='pli' translate='no'>Aṅguttara Nikāya</li>
<li class='subdivision'>Buku Kelompok Satu</li>
<li>i. Sub Bab Pertama</li>

After:

<li class='division' lang='pli' translate='no'>Aṅguttara Nikāya</li>
<li class='subdivision'>Buku Kelompok Satu</li>
<li>xvi. Satu Hal</li>
<li>i. Sub Bab Pertama</li>

@thesunshade
Copy link
Copy Markdown
Contributor

Unless there are serious errors, we tend not to touch the legacy texts. I believe the changes you propose are not required for proper functioning. @ihongda can you tell?

But if it is helpful for the user then that's good. Thanks!

@ayya-vimala
Copy link
Copy Markdown
Collaborator

Dear @renaldoaluska - Thank you for your changes. I agree with them and would like to merge, but could you please make the headers a bit different in the following format:

    <header>
	<ul>
          <li class='nikaya'>Numbered Discourses</li>
          <li class='nipata'>The Book of the Fours</li>
          <li class='pannasaka'>The First Fifty</li>
          <li class='vagga'>At Bhaṇḍagāma</li>
	</ul>
      <h1 class='sutta-title'>4.4. Maimed (2)</h1>
    </header>

Thanks so much! I will merge as soon as that is done. As the branch is on your local sc-data fork I cannot change it myself.

@renaldoaluska
Copy link
Copy Markdown
Contributor Author

renaldoaluska commented Apr 30, 2026

Vandāmi, ayyā. Does this formatting apply limited to the files (11 .html files) that I've committed here or the entire Indonesian .html(s)? Thank you.

@ayya-vimala
Copy link
Copy Markdown
Collaborator

Good question. All the details about the HMTL structure are here: https://github.com/suttacentral/suttacentral/wiki/HTML-structure:-template-&-guiding-principles
You are welcome to also do the other ones if you want, but let's start with these ones so we can merge this PR with the corrected data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants