Skip to main content
UNA Community Management System UNA Community Management System UNA Community Management System UNA Community Management System
  • Platform
  • Resources
  • Community
  • Pricing
Comment 'Dear @Anton L The ...' to 'Html language tag issue'
Comment to Html language tag issue
    •  ·  OneEagle
    •  ·  In reply to
      Anton L
    •  ·  2025-06-09T13:14:27+0000

    Dear @Anton L

    The solution you provided in the links below to fix the language codes with two letters: country/region codes (e.g: 'en-us', 'es-es', 'es-mx','fr-fr', 'fr-ca', etc) in the HTML lang tag didn't work today:

    https://github.com/unacms/UNA/issues/4651

    https://github.com/unacms/una/commit/9cb5d6bb40d08df81aaf37661cec8f9214864c

    The HTML lang tag value was not fixed. After applying the fix, it doesn't change. It continues like:

    <html lang="en"> 
    <html lang="es"> 
    <html lang="fr"> 

    Instead of:

    <html lang="en-us"> 
    <html lang="es-es"> 
    <html lang="fr-ca"> 

    I have even checked the `sys_localization_languages` table, language names are correct. e.g: en-us, es-es etc.

    Please help!

    Thanks

      •  ·  Anton L
      •  ·  In reply to
        OneEagle
      •  ·  2025-06-10T05:29:32+0000

      Hello. Yes, in UNA the lang attribute shows only language code without country code. But you may use en-us and en-gb language files in the same time. Country code will be used in necessary places.

    See more...
    • Features
    • Pricing
    • Forum
    • Blog
    • Market
    • About
    • Copyright
    • Contact
    • Terms
    • Privacy
    • 𝕏
    Search
    UNA Community Management System UNA Community Management System UNA Community Management System UNA Community Management System
  • Platform
    • Features
    • Core CMS
  • Resources
    • Documentation
    • Marketplace
    • Discussions
    • Support Groups
    • API Reference
    • UNA CMS on GitHub
    • Webinars
    • Blog
  • Community
    • Discussions
    • Groups
    • Webinars
  • Pricing
  • Are you sure?
    Please, enter a value here