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

Merge all files #18

Merged
merged 1 commit into from
Oct 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# locale-hu-HU

This repo contains the Hungarian language files for the State of JS/CSS/etc. surveys, which serve as a base to translate all the other languages. You can view a list of [all the locales repos here](https://github.com/StateOfJS/?q=locale-&type=&language=&sort=).
This repo contains the Hungarian language files for the State of JS/CSS/HTML/etc. surveys, which serve as a base to translate all the other languages. You can view a list of [all the locales repos here](https://github.com/orgs/Devographics/repositories?q=locale-&type=all&language=&sort=name).

## How To Help

Expand All @@ -14,13 +14,13 @@ I will then give you maintainer rights over a repo containing all the translatio

You can either browse the survey-taking app, survey results site, etc. and find untranslated strings this way, or else use our API to get extra data such as the completion percentage for a locale or a list of all the untranslated strings:

- https://graphiql.stateofjs.com/
- https://graphiql.devographics.com/

Here is a sample query:

```graphql
query GetLocaleData {
locale(localeId: "ru-RU") {
locale(localeId: ru_RU) {
completion
totalCount
translatedCount
Expand All @@ -32,9 +32,11 @@ query GetLocaleData {

#### 3. Getting Credit

Every translator will be credited on any site that makes use of the translations, starting with the survey-taking app. While this will eventually be automated via the GitHub API, for now you can add your name here:
Every translator will be credited on any site that makes use of the translations, starting with the survey-taking app. In order to receive credit, add your GitHub username to the `translators` array in each locale's `config.yml` file.

- https://github.com/StateOfJS/Monorepo/blob/main/api/src/data/locales.yml
Here is an example for the `de-DE` locale:

- https://github.com/Devographics/locale-de-DE/blob/main/config.yml#L3

#### 4. Pushing Your Changes Live

Expand Down Expand Up @@ -72,7 +74,7 @@ These strings appear in both.

## Joining Translation Teams

It's recommended you join the [translation team](https://github.com/orgs/StateOfJS/teams/translators/teams) for the language you want to translate.
It's recommended you join the [translation team](https://github.com/orgs/Devographics/teams/translators/teams) for the language you want to translate.

## Local Development

Expand Down
6 changes: 6 additions & 0 deletions accounts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,9 @@ translations:
Amennyiben kérdésed van adataid kezelésével kapcsolatban, esetleg adataid
rendszerünkből való törlését szeretnéd kérni,
kérünk <a href="mailto:[email protected]">lépj kapcsolatba</a>.

- key: accounts.token_verified
t: Token verification successful, redirecting…

- key: accounts.your_surveys
t: Your Surveys
Loading
Loading