Skip to content

请问如何自动识别当前语言呢 #2

@ayou129

Description

@ayou129

目前想通过浏览器请求头的信息自动适配当前语言,请问有什么解决方案吗?
哪怕类库提供一个获取 当前请求或协程生命周期内 的语言(客户端的语言为第一优先级)也好,目前没找到

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions