Skip to content

Languages Select not working for pt-BR livechat text #13305

@Anderson-Vasques

Description

@Anderson-Vasques

When changing Language to 'Português do Brasil' in admin/General the livechat You i18n text (https://github.com/RocketChat/Rocket.Chat/blob/0.74.0/packages/rocketchat-livechat/.app/client/views/message.html#L7) changes to 'Tu' (which is the text from Português translate)
I think the problem is https://github.com/RocketChat/Rocket.Chat/blob/0.74.0/packages/rocketchat-ui-admin/client/admin.js#L99 that changes pt-BR to pt-br. If I change the option value from pt-br to pt-BR on the option value, the correct text is displayed

Rocketchat version: 0.74.0

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions