Community
    • Login

    How to change the language of the date and time inserted by TextFX in Notepad++?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    textfx
    3 Posts 2 Posters 618 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.
    • ThomasLeighT
      ThomasLeigh
      last edited by

      Regardless of changing the Notepad++ UI language - TextFX doesn’t react accordingly and doesn’t change the language of time and date (long format). Is there a way I could fix it without a need to reinstall Notepad++?

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

        @ThomasLeigh

        Not via TextFX. But there are other ways to get the date/time inserted. See this maybe.

        I don’t think a reinstall of N++ will do anything here.

        1 Reply Last reply Reply Quote 2
        • ThomasLeighT
          ThomasLeigh
          last edited by ThomasLeigh

          Looks interesting, thank You. I
          decided to use AutoHotkey as a workaround. I can ascribe a keyboard shortcut for it to insert the current date and time. Interestingly, it acts similarly to the TextFX - i.e. it obeys a user’s OS language. So instead of using native syntax to display a month’s name - I’ve used this:

          formattime, monthvar, , MM
          
          if (monthvar=01)
          (cmonth:="January")
          if (monthvar=02)
          (cmonth:="February")
          

          …and so on. And then, if I want to insert the current month’s name:

          send ...some nice %cmonth%
          
          1 Reply Last reply Reply Quote 2
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors