Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Invoice Ninja
  3. InvoiceNinja - Add Currencies with Name

InvoiceNinja - Add Currencies with Name

Scheduled Pinned Locked Moved Invoice Ninja
2 Posts 2 Posters 362 Views 1 Watching
  • 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.
    • S Offline
      S Offline
      spacetime
      wrote on last edited by
      #1

      When I add a currency via the currencies MySQL table they do not correctly display in the GUI since the texts.php has not been updated. I am unable to update this file due to it being located in an un-writable folder. In the current release, the Libyan Dinar is missing its entry in the English texts.php so you can look at that as an example at the bottom of the list in: settings > localization > default currency.

      Here is the file that needs editing.
      https://github.com/invoiceninja/invoiceninja/blob/a52e138a392c37df0ff05f40d7b37d0c7446647e/lang/en/texts.php#L2294

      girishG 1 Reply Last reply
      0
      • S spacetime

        When I add a currency via the currencies MySQL table they do not correctly display in the GUI since the texts.php has not been updated. I am unable to update this file due to it being located in an un-writable folder. In the current release, the Libyan Dinar is missing its entry in the English texts.php so you can look at that as an example at the bottom of the list in: settings > localization > default currency.

        Here is the file that needs editing.
        https://github.com/invoiceninja/invoiceninja/blob/a52e138a392c37df0ff05f40d7b37d0c7446647e/lang/en/texts.php#L2294

        girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by
        #2

        @spacetime You cannot change code files, this is by design. Any changes you make to code will get lost during update. You have to check with the upstream project at https://forum.invoiceninja.com/ or https://github.com/invoiceninja/invoiceninja/discussions as to what is the correct approach to acheive this.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search