PO files syntax color, where can I find it?
Hi all, some years ago I’ve found on the Internet a good XML file for import the PO syntax color, but I cannot find it anymore. Does anyone here have it? Thanks in advance and regards.
Please don’t post the same thing in a second thread; original thread was HERE.
Since this one generated the reply, I locked the other one. So discussion can continue here.
I assume you mean you are looking for the User Defined Language (UDL) definition XML for some type of file called “PO”.
I just searched the web for what that was (it would have been nice if you’d told us), and I think you’re probably talking about the gnu gettext “Portable Object”.
As far as I know, there aren’t any “PO” / “Portable Object” UDL definitions at the UDL Collection
Assuming that was the case, I searched the internet for
gnu gettext PO UDL "Notepad++", and found this old user submission . But when I look at the source, two things stood out: first, it’s the ancient UDL syntax, which isn’t fully compatible with Notepad++ any more. Second, it’s only got 4 keywords defined, along with a couple operators and delimiters.
Honestly, if there are only 4 keywords in the language, then why not re-create the UDL yourself… it will take less time than it took me to do this search and write up this reply for you.
Ok, I’ve never tried to create a UDL from scratch bit I’ll try now. Regards!