Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(hitlnext): Adds spanish language support #12056

Merged
merged 5 commits into from
Aug 9, 2022
Merged

feat(hitlnext): Adds spanish language support #12056

merged 5 commits into from
Aug 9, 2022

Conversation

charlyR
Copy link
Contributor

@charlyR charlyR commented Aug 2, 2022

Hitlnext language currently supports only english and french language.
I have added support for spanish language, and moment date translation to user language.

@CLAassistant
Copy link

CLAassistant commented Aug 2, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@EFF EFF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@charlyR, thank you for submitting this pr, good work.
I left 2 comments for you, please review and address changes if necessary.

please also make sure to sign our contributor license agreement in order for us to approve these changes

@@ -16,7 +16,7 @@ import UserName from './UserName'

const HandoffItem: FC<IHandoff> = ({ createdAt, id, status, agentId, userConversation, userChannel, user }) => {
const { state, dispatch } = useContext(Context)

moment.locale(lang.getLocale())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this for ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to instruct moment to display elapsed time in the selected language. In spanish it is "dias", "horas", "segundos"
I think the same apply to other languages.

@EFF EFF changed the title Adds spanish language support to hitlnext module feat(hitlnext): Adds spanish language support Aug 3, 2022
@charlyR charlyR closed this Aug 5, 2022
@charlyR charlyR reopened this Aug 5, 2022
@charlyR
Copy link
Contributor Author

charlyR commented Aug 5, 2022

I have already signed the CLA, but stills appears as pending...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants