Jump to content
ealexcantero

Changing Money Currency and Translation in WHMCS

Recommended Posts

Hello beautiful community, this is my first time posting a topic here.  I don't have any coding knowledge and I will really appreciate some support!

THE MONEY CURRENCY:
I live in Paraguay and our currency is Guaranies (PYG).
I've already tried to set up in the "Money: Setup and manage currencies" but it doesn't change it.
- Example: The format of Guaranies is 1.000 unlike the USD which the numbers doesn't have decimals until it reaches a big number like 1.000$
I provided an example with screenshot(1), it doesn't appear all the decimals in the client area. it appears: 95.50PYG but it should be 95.000PYG. Is it possible to change that?

ABOUT THE TRANSLATIONS:
If you also see screenshot(2) The titles are in English, I can't find a way to translate them. is there a place in the Admin area where I can change it or it can only be changed via coding? if so, is there a guide?

Screenshot 1 (1).png

Screenshot (2).png

Share this post


Link to post
Share on other sites
On 7/20/2021 at 10:19 PM, ealexcantero said:

ABOUT THE TRANSLATIONS:
If you also see screenshot(2) The titles are in English, I can't find a way to translate them. is there a place in the Admin area where I can change it or it can only be changed via coding? if so, is there a guide?

This is hardcoded in the theme.  You can check the respective theme in use and make a child theme.

 

On 7/20/2021 at 10:19 PM, ealexcantero said:

The format of Guaranies is 1.000 unlike the USD which the numbers doesn't have decimals until it reaches a big number like 1.000$

You might have misunderstanding on the currency format setting.  Your selection should be 1.234,56.

 

Btw, these questions I feel like it shouldn't be in developer corner but belongs to other board?  😅

Share this post


Link to post
Share on other sites
Posted (edited)

You can change the currency format display and languages directly in the files. All you need is a simple text editor, no coding required.

Take a look at the language files in your installation, as well the official WHMCS documentation on templates and theme customization. It will require some work.

Now take into account that you will have to change a whole more than just that ordering cart to make it compatible with your currency, at least in a visual way, since WHMCS really has strange problems handling anything outside its default format. If you don't know basic coding, you will probably mess up things at some point. My advice is to hire someone that knows around WHMCS to properly configure your installation, themes and carts to match your currency everywhere.

Make sure that you don't use WHMCS for accounting either, or you will end up with strange rounding issues and numbers that don't match with that decimal format.

Edited by yggdrasil

Share this post


Link to post
Share on other sites
38 minutes ago, yggdrasil said:

You can change the currency format display and languages directly in the files. All you need is a simple text editor, no coding required.

Take a look at the language files in your installation, as well the official WHMCS documentation on templates and theme customization. It will require some work.

Now take into account that you will have to change a whole more than just that ordering cart to make it compatible with your currency, at least in a visual way, since WHMCS really has strange problems handling anything outside its default format. If you don't know basic coding, you will probably mess up things at some point. My advice is to hire someone that knows around WHMCS to properly configure your installation, themes and carts to match your currency everywhere.

Make sure that you don't use WHMCS for accounting either, or you will end up with strange rounding issues and numbers that don't match with that decimal format.

Also don't change the currency of active products.... they literally replace the currency type and don't understand currencies hold alternative values that change! 

#GreatestBillingSystemEver 😉

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, Bigol'tastynuggets said:

Also don't change the currency of active products.... they literally replace the currency type and don't understand currencies hold alternative values that change! 

#GreatestBillingSystemEver 😉

Yes, that is correct. Currency is broken for years in WHMCS.

If you change the currency for a user. It just changes the currency symbol, and all your amounts are then wrong on paid invoices, transactions, orders...for that user. I have no idea what the developers had in mind when they added this feature.

I even posted solutions to this, like just freezing all the previous table records by comparing the date before the change and only applying the new currency from that point on, but nobody bothered to look or fix it in years. It takes 1 hour to actually fix this but since we cannot edit the files that have the code, you have no recourse than just not use this function and just close that user account and open a new one with the proper currency.

Edited by yggdrasil

Share this post


Link to post
Share on other sites
10 hours ago, Nelson Neoh said:

This is hardcoded in the theme.  You can check the respective theme in use and make a child theme.

 

You might have misunderstanding on the currency format setting.  Your selection should be 1.234,56.

 

Btw, these questions I feel like it shouldn't be in developer corner but belongs to other board?  😅

Any guidance for it?

Yes, thanks for correcting me, its 1.234,56 , but how can I change it? Is there any guide available?

And lastly yes It shouldn't be in the developer corner, my mistake, I accidentally uploaded two times the question. 

 

 

Share this post


Link to post
Share on other sites
9 hours ago, yggdrasil said:

You can change the currency format display and languages directly in the files. All you need is a simple text editor, no coding required.

Take a look at the language files in your installation, as well the official WHMCS documentation on templates and theme customization. It will require some work.

Now take into account that you will have to change a whole more than just that ordering cart to make it compatible with your currency, at least in a visual way, since WHMCS really has strange problems handling anything outside its default format. If you don't know basic coding, you will probably mess up things at some point. My advice is to hire someone that knows around WHMCS to properly configure your installation, themes and carts to match your currency everywhere.

Make sure that you don't use WHMCS for accounting either, or you will end up with strange rounding issues and numbers that don't match with that decimal format.

Thank you for your response, is there any documentation for this? and also, where exactly can I hire someone? 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • By ModulesGarden
      TOP NEWS: ModulesGarden to launch a brand-new WordPress automation platform!

      We revel in finally being able to spill the beans about our spanking-new project that now is officially under development. If you find our WordPress Manager For WHMCS module to be helpful, just wait until we show you the vast potential of PanelAlpha!

      Based on a similar premise, but taken to a much advanced level, PanelAlpha is a completely standalone system designed to equip the providers of web hosting and managed services with tools ensuring the most intelligent, yet effortless way of delivering and managing WordPress instances.

      Today we are inviting you to peek under the surface of this revolutionary application to gain a deeper insight into its new-fashioned design as well as an impressive scope of functionalities. If any ideas come to your mind, maybe some useful features that we might be missing, do not think twice and share them all with us! Each participant of our 2-minute survey will receive a personal 10% discount that can be applied to the entire product base of our Marketplace!

      Set PanelAlpha on the path to success!



      2. DirectAdmin Extended For WHMCS 3.6.0

      Let’s face it: every day, millions of Internet users, including you and your customers, are exposed to a continuous threat of stealing your digital valuables. Come to think of it, it is quite terrifying.

      Fortunately, there is our DirectAdmin Extended For WHMCS available in a whole new quality, making the management of your clients’ details not only easier but, above all, one hundred percent secure.

      Upon changing the status to the 3.6.0 version, the module has been packed with a neat array of new features and improvements - check out what your clients are now empowered to do:
      Prevent the stealing of files and website bandwidth via Manage the folders protected with passwords Add credentials through "File Manager" to prevent directories from being accessed by unauthorized users Paste their own authorized SSH keys Uncover all new safety layers of DirectAdmin Extended For WHMCS 3.6.0!



      3. Polish Language Translation For WHMCS 2.1.0

      The final touches have also been made in recent weeks to our official Polish Language Translation For WHMCS for the sake of its total consistency with the new WHMCS V8.2.1!

      Developed through joint forces of the most experienced language and software specialists, our freshened-up translation covers almost 600 new and modernized expressions, making itself not only top-quality, but also most comprehensive one ever created!

      Choose Polish for your WHMCS and make yourself feel at home!



      4. You wouldn't want to miss the entire range of our brand-new releases, would you?
      EURid Registrar For WHMCS - v1.3.5 Multibrand For WHMCS - v2.8.2 OpenStack VPS & Cloud For WHMCS - v2.0.3 Plesk Key Administrator For WHMCS - v1.3.10 Recurring Billing Extended For WHMCS - v1.3.5 SMS Center For WHMCS - v3.9.1 SolusVM Extended Cloud For WHMCS - v1.10.1 SolusVM Extended VPS For WHMCS - v1.10.1 Stripe SEPA Payments For WHMCS - v1.0.5 Virtuozzo VPS For WHMCS - v1.6.5 Zimbra Email For WHMCS - v2.1.6

      Need Custom Software Development For Your Business?
      Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
    • By ealexcantero
      I live in Paraguay and our currency is Guaranies (PYG).
      I've already tried to set up in the "Money: Setup and manage currencies" but it doesn't change it.
      - Example: The format of Guaranies is 1.000 unlike the USD which the numbers doesn't have decimals until it reaches a big number like 1.000$
      I provided an example with screenshot, it doesn't appear all the decimals in the client area. it appears: 95.50PYG but it should be 95.000PYG. Is it possible to change that? The one inside the red circle is the one I am seeking to change.
      If anyone is willing to help me on that I will be please and provide me a price in which I can see if I could pay.


    • By ealexcantero
      Hello Beautiful community, this is my first time creating a topic.
      I have zero coding knowledge, but I am willing to follow some help, I will be grateful for it!
      ABOUT THE MONEY CURRENCY:
      I live in Paraguay and our currency is Guaranies (PYG).
      I've already tried to set up in the "Money: Setup and manage currencies" but it doesn't change it.
      - example: The format of Guaranies is 1.000? unlike the USD which the numbers doesn't have decimals until it reaches a big number like 1.000$
      I provided an example in screenshot(1) , it doesn't appear all the decimals in the client area. it appears: 95.50PYG but it should be 95.000PYG. How can I change that?
      ABOUT THE TRANSLATIONS:
      If you also see screenshot(2) The titles are in English, I can't find a way to translate them. is there a place in the Admin area where I can change it or it can only be changed via coding? if so, is there a guide?
       


    • By HancoEuropa
      Indeed a long day.  
      WHMCS not responding to locale info from Geolocation hooks -- uploaded the new stuff via ftp, all the files there.
      Set config.php there to faithfully do the right things, I guess
       
      $countryToCurrency = array( 'default' => 'EUR', 'RO' => 'RON', 'GB' => 'GBP', 'DE' => 'EUR', // NOTE: You can add more below ); $countryToLanguage = array( 'default' => 'english', 'GB' => 'english', 'US' => 'english', 'RO' => 'romanian', ); $countryToTemplate = array( 'GB' => 'hanco', 'default' => 'hanco', // NOTE: You can add more below ); $templateToLanguage = array( 'english' => 'hanco', 'romanian' => 'hanco', 'default' => 'hanco', // NOTE: You can add more below ); Do I need to make different templates for some reason for each language in the config.php?   All other Geo files pristine from the latest 2.2.3 release.
      But really, zero locale change happening in private window as guest user ... WHMCS responds fine to  logged in users, all correct that way for language, currency etc ... but that's not really the geoip doing it's thing is it?
      Are there any variables for the geolocation I can see?   did the {debug} and $var_dumps on templates, all giving completely the wrong locale (forever thinks we're in the UK, no idea why, all en_GB in smarty, everything).
      No clue ... no errors in the activity logs (turned on hooks, sql, php)  ... no console errors ...  geolocation_hook.php loading fine,  just that Geo having no effect.
      Suggestions where to look?
      Thanks!
       
    • By Fahhad
      Hello everyone.
      I'm having a hard time finding a way to translate this word in the invoice products information.

      Please have a look at the invoice, also i tried changing this line
      $_LANG['orderaddon'] = "Addon"; in this path whmcs/lang/english.php, but it didn't work.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated