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 908 Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors