Contributing to the development of polyglossia to add Bengali (Bangla) support is a great idea! To start, you should familiarize yourself with the structure and codebase of the package. Polyglossia's source code can be found on GitHub at https://github.com/reutenauer/polyglossia.
Next, you can look for examples of other languages that are already supported by polyglossia to see how they have been implemented. For example, you can study the code for the Hindi language, which has similar features to Bengali, such as support for numerals and dates.
To add support for Bengali numerals, you will need to create a table that maps the standard Arabic numerals to their Bengali equivalents. You can then modify the existing code for formatting numbers in polyglossia to use this table when rendering Bengali text.
To add support for other language-related areas such as dates, you may need to create new code that can handle the specific features of the Bengali language. This could involve modifying the existing code for handling dates, or creating new functions that can handle Bengali-specific date formatting.
Once you have made these changes, you can submit a pull request to the polyglossia project on GitHub. Be sure to document your changes and explain how they work, and include any relevant test cases to ensure that your changes do not introduce new bugs or regressions.
In sum, here are some steps you can take to get started:
Familiarize yourself with the polyglossia package and its code. You can find the source code and documentation on CTAN (https://ctan.org/pkg/polyglossia).
Identify the areas where Bengali support is currently incomplete or missing, such as numerals and date formatting.
Research the Bengali language and its writing system to understand the specific needs of the language. This will involve understanding the script and its characters, as well as any special rules or conventions related to numerals and dates.
Look at other language modules in polyglossia to see how they have implemented support for numerals and dates. This will give you an idea of the types of tables or data structures you may need to create to support Bengali.
Start by creating a table or data structure that maps Arabic numerals to their Bengali equivalents. This will be used to replace the default definition of @arabic, allowing polyglossia to correctly typeset numerals in Bengali.
Test your changes by creating a simple document in Bengali that includes numerals, such as a list of items with numbered bullets.
Once numerals are working correctly, move on to adding support for dates and other language-specific features. This may involve creating additional tables or data structures to handle things like month and day names, or modifying the way certain commands (like \today) are formatted.
Finally, submit your changes to the polyglossia maintainers for review and inclusion in a future release.
Keep in mind that this is a complex task and may take some time and effort to complete. However, your contributions will be greatly appreciated by the Bengali-speaking community and the wider LaTeX community as a whole.
gloss-bengali.ldf? That's usually the place to start. Also, contact the author/maintainer. Welsh is much improved as the result of my discussions with him ;). It no longer contains characters which don't exist in the language, for example. (I don't use Polyglossia, but this has also improved Babel's file at least marginally.) – cfr Mar 24 '16 at 02:10datetimefile to override the standard one (which is wrong and includes characters which don't exist in the language - this problem pervades all TeX support for Welsh - I guess people all copied Babel's mess). But that's mainly because I use pdfTeX and so can't enjoy the new Polyglossia file. For Polyglossia, I just had to explain what was needed for it to be correct, basically. – cfr Mar 24 '16 at 02:31.ldffile is the place to start. I find Bengali digits for section, page etc are defined now (https://tex.stackexchange.com/questions/246881/how-to-get-section-numbers-and-page-numbers-with-bengali-numerals-in-latex-or-xe/513862#513862) plus also the translated names of the document parts. – Cicada Oct 27 '19 at 10:03