[XeTeX] Translation commands for package dramatist to put in the marathi.ldf file

Apostolos Syropoulos asyropoulos at yahoo.com
Sun Apr 12 07:08:19 CEST 2020


A better solution would be to create alittle package with all these redefinitions.Or ask the maintainer of the packageto add an option (e.g., marathi) thatwill use the new strings instead of theoriginal ones. 
Regards,
Apostolos

Στάλθηκε από το Ταχυδρομείο Yahoo σε Android 
 
  Στις Σάβ, 11 Απρ, 2020 στις 17:39, ο χρήστηςRD Holkar<rohit.d.holkar at gmail.com> έγραψε:   Dear all,

I want to use package dramatist to write a play in language Marathi. I am using package polyglossia in XeLaTeX for Marathi. The package dramatist prints some theatrical terms via some commands. E.g., the command \scenename prints "Scene (and scene number in roman)". I want the word दृश्य to be printed instead of "Scene", and have the counter set to Devanagari script. Therefore, following the package documentation, I use \renewcommand{\scenename}{􏰞􏰟दृश्य} in the preamble. Similarly, I change the counter to Devanagari script.

My question is, how can I add these translation commands to the ldf (marathi.ldf) file for language Marathi in package poyloglossia so that I do not have to keep writing these commands all the time in the preamble? Thank you in advance.

What I really want is the command in marathi.ldf. I doubt if \renewcommand can be directly put in the .ldf file, can it be? There are other packages also for which such translations are required. The goal is to get general trick to add the translation commands in the .ldf file, and update these translations on Git repository of polyglossia. Then they will become available to all users.

Thank you in advance.

-Rohit Dilip Holkar.
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20200412/a4495e32/attachment-0001.html>


More information about the XeTeX mailing list.