• Login
Community
  • Login

PO files syntax color, where can I find it?

Scheduled Pinned Locked Moved General Discussion
4 Posts 3 Posters 769 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.
  • G
    Green_goblin
    last edited by Jun 22, 2023, 8:04 AM

    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.

    A 1 Reply Last reply Jun 22, 2023, 11:04 AM Reply Quote 0
    • A
      Alan Kilborn @Green_goblin
      last edited by Jun 22, 2023, 11:04 AM

      @Green_goblin

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

      P 1 Reply Last reply Jun 22, 2023, 1:07 PM Reply Quote 1
      • P
        PeterJones @Alan Kilborn
        last edited by Jun 22, 2023, 1:07 PM

        @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.

        G 1 Reply Last reply Jun 22, 2023, 1:10 PM Reply Quote 4
        • G
          Green_goblin @PeterJones
          last edited by Jun 22, 2023, 1:10 PM

          @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
          1 out of 4
          • First post
            1/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors