Skip to content

[Bug]: Page Language Attribute #6503

@uzmannazari

Description

@uzmannazari

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Page Language Attribute (<html lang="...">) Not Set in Latest DNN Versions

In the latest version of DNN Platform, the <html lang="..."> attribute is missing from the rendered page, even when the current thread's UICulture is correctly set.

Steps to reproduce?

  1. Install the latest DNN Platform.
  2. Configure a portal with default language fa-IR (or any other culture).
  3. Access a normal page (not installwizard.aspx).
  4. View the page source and inspect the <html> tag.

Current Behavior

The <html> tag should contain the correct lang attribute based on the current culture, e.g.:

<html lang="fa-IR">

Expected Behavior

No response

Relevant log output

Anything else?

No response

Affected Versions

10.0.0 (latest v10 release)

What browsers are you seeing the problem on?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions