Jump to content

WHMCS Feeds


Nanox Flow

Recommended Posts

On 12/09/2019 at 07:16, Momed Jussub said:

I'm using the domain pricing table whmcs feeds, all working fine, but i have one question, my website is multi lang, and I want that the feed come with language I have tried whmcs-patch.com/feeds/domainpricing.php?currency=1&language=portuguese-pt and not working

are you using the feed on an external site (e.g non-WHMCS) ? because the translations work fine when using the domain pricing feed on a WHMCS page (as it knows the current language), but should fail on an external site.

I suspect if using on an external site, you'd have to edit the feed coding, create a session, get the language parameter from the URL and set the language in the session.... or I suppose you could go entirely old school, get the language value passed to the feed, and create 4 variables for each language (copy & paste from the language strings) and use those 4 variables as the headings instead of the language strings.

Link to comment
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.

  • 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