Skip to main content
Participant
August 6, 2021
Question

Changing HTML language attribute to "en-gb" before publishing

  • August 6, 2021
  • 1 reply
  • 261 views

Hi everyone,

 

Can Captivate 2019 be configured to publish content using the "en-gb" language tag instead of "en-us"?

 

My company is using a proprietary LMS which will only recognise content using the "en-gb" tag. I'm hoping that I can use Captivates settings to change this rather than have to try and source dev time to changing how the LMS operates. 

 

The closest I have found is the Project Publish setting under preferences however the only option here is English (US) as well as Deutsch, Spanish, French, Japanese and Portugese Brazil.

 

Is captivate limited to only publishing with the tag "en-us" and is there a way around this other than manually editing the published files?

 

Thanks

    This topic has been closed for replies.

    1 reply

    Stagprime2687219
    Legend
    August 6, 2021

    A shot in the dark and untested...

     

    ...but what if you modify the main HTML file at the location shown in the screenshot to reflect your location?

    Of course - I recommend making a backup of the original file first.

    Line 2 resolves to  <html lang="en">  in my published products.

    I am thinking if you hard code it as en-gb and test... may be worth a shot.

     

     

    If it works - it means you only change it this once instead of after publishing each project because this is the file that will be used to perform the publishing.

    Participant
    August 12, 2021

    Thank you for the suggestion @Stagprime2687219. I queried the fix with our developers and they've updated our LMS to accept any variation of the "en" tag so I sadly won't be able to test it.

    Stagprime2687219
    Legend
    August 16, 2021

    At least you have something that works for you.

    That is what matters.