Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Added Hindi and Japanese Translation

Open shashankx86 opened this issue 2 years ago • 21 comments

shashankx86 avatar Feb 19 '23 13:02 shashankx86

:x: pre-commit failed. Please run pre-commit run --all-files locally and commit the changes. Find more information in the repository's CONTRIBUTING.md

github-actions[bot] avatar Feb 19 '23 13:02 github-actions[bot]

In common.json line 43 and 44 are duplicate translations of "trollboard", and the first lacks the final quotation mark and comma.

In index.json line 4 lacks the final comma.

In labelling.json line 19 and 65 and lacks the final comma. Line 67 has quoted English terms, but JSON interprets the double quotation marks as a stop. Using escape sequences (a \ before each ") should work.

Line 5 in tos.json should not have a final comma.

LarsEJonasson avatar Feb 19 '23 21:02 LarsEJonasson

:x: pre-commit failed. Please run pre-commit run --all-files locally and commit the changes. Find more information in the repository's CONTRIBUTING.md

github-actions[bot] avatar Feb 20 '23 00:02 github-actions[bot]

:x: pre-commit failed. Please run pre-commit run --all-files locally and commit the changes. Find more information in the repository's CONTRIBUTING.md

github-actions[bot] avatar Feb 20 '23 00:02 github-actions[bot]

:x: pre-commit failed. Please run pre-commit run --all-files locally and commit the changes. Find more information in the repository's CONTRIBUTING.md

github-actions[bot] avatar Feb 20 '23 00:02 github-actions[bot]

@LarsEJonasson all fixed and i also can translate to japanese but there isn't any jp folder should i do it?

shashankx86 avatar Feb 20 '23 07:02 shashankx86

:x: pre-commit failed. Please run pre-commit run --all-files locally and commit the changes. Find more information in the repository's CONTRIBUTING.md

github-actions[bot] avatar Feb 20 '23 07:02 github-actions[bot]

@LarsEJonasson all fixed and i also can translate to japanese but there isn't any jp folder should i do it?

You still have some formatting issues with tasks.json. If you have Python you can run 'pre-commit run --all-files' on your local computer and it will correct them. For example the spaces between " and : are missing. You also have three initial spaces at each line, but it should be two.

As for more translations, the more the better.

LarsEJonasson avatar Feb 20 '23 08:02 LarsEJonasson

@LarsEJonasson Done.

shashankx86 avatar Feb 20 '23 12:02 shashankx86

:x: pre-commit failed. Please run pre-commit run --all-files locally and commit the changes. Find more information in the repository's CONTRIBUTING.md

github-actions[bot] avatar Feb 20 '23 13:02 github-actions[bot]

:x: pre-commit failed. Please run pre-commit run --all-files locally and commit the changes. Find more information in the repository's CONTRIBUTING.md

github-actions[bot] avatar Feb 20 '23 14:02 github-actions[bot]

@LarsEJonasson Added jp translation

image

but here

image

shashankx86 avatar Feb 20 '23 14:02 shashankx86

:x: pre-commit failed. Please run pre-commit run --all-files locally and commit the changes. Find more information in the repository's CONTRIBUTING.md

github-actions[bot] avatar Feb 20 '23 19:02 github-actions[bot]

:x: pre-commit failed. Please run pre-commit run --all-files locally and commit the changes. Find more information in the repository's CONTRIBUTING.md

github-actions[bot] avatar Feb 20 '23 19:02 github-actions[bot]

:x: pre-commit failed. Please run pre-commit run --all-files locally and commit the changes. Find more information in the repository's CONTRIBUTING.md

github-actions[bot] avatar Feb 20 '23 19:02 github-actions[bot]

@LarsEJonasson Done

shashankx86 avatar Feb 21 '23 05:02 shashankx86

Japanese files should be under the ja directory, not jp.

Thank you for your contribution!

GuilleHoardings avatar Feb 22 '23 12:02 GuilleHoardings

Japanese files should be under the ja directory, not jp.

Do i need to fix it? @GuilleHoardings

shashankx86 avatar Feb 22 '23 13:02 shashankx86

I think that it doesn't work if you don't fix it. As far as I know, the framework looks in the directory that matches the locale, and the locale for Japan is ja. Have you tested it?

GuilleHoardings avatar Feb 22 '23 14:02 GuilleHoardings

I think that it doesn't work if you don't fix it. As far as I know, the framework looks in the directory that matches the locale, and the locale for Japan is ja. Have you tested it?

nope, I'm just renaming to ja

shashankx86 avatar Feb 22 '23 14:02 shashankx86

@GuilleHoardings renamed to ja

shashankx86 avatar Feb 22 '23 14:02 shashankx86

Ok, thank you. I've received another proposal for the Japanase translation, and the submitter merged it with yours. I'll submit as an update when yours is merged.

GuilleHoardings avatar Feb 23 '23 06:02 GuilleHoardings