Community
    • Login

    PO files syntax color, where can I find it?

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 3 Posters 750 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Green_goblinG
      Green_goblin
      last edited by

      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.

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Green_goblin
        last edited by

        @Green_goblin

        Please don’t post the same thing in a second thread; original thread was HERE.

        PeterJonesP 1 Reply Last reply Reply Quote 1
        • PeterJonesP
          PeterJones @Alan Kilborn
          last edited by

          @Alan-Kilborn said in PO files syntax color, where can I find it?:

          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.

          @Green_goblin ,

          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.

          Green_goblinG 1 Reply Last reply Reply Quote 4
          • Green_goblinG
            Green_goblin @PeterJones
            last edited by

            @PeterJones
            Ok, I’ve never tried to create a UDL from scratch bit I’ll try now. Regards!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors