Skip to content

Conversation

@petrisch
Copy link
Contributor

@hustcer I saw you changed the link on the other ones to /book/commands...
At some point I will have to install the build chain for the doc to see myself if it works.
Also I probably have some more lessons to learn. But since I'm doing this to learn Nushell itself,
I hope you are still fine to add some corrections?

@hustcer
Copy link
Contributor

hustcer commented Jun 17, 2022

It's pretty good now. There seemed to be no more revision needed for the translation itself.
And you may want to add the translated docs to the side nav, just modify the /de/book/ field of .vuepress/config.js, it should look like:

          '/de/book/': [
            {
              text: 'Nu Handbuch (0.59+)',
              collapsable: false,
              children: [
                'README.md',
                'installation',
                'thinking_in_nushell',
                'moving_around',
                'types_of_data',
                'loading_data',                // <- newly added
                'working_with_strings',        // <- newly added
                'konfiguration',
                'environment',
                '3rdpartyprompts',
                'eigene_befehle',
                'aliase',
                'mathematik',
                'variablen_und_unterausdruecke',
                'escaping',
                'plugins',
                'von_bash_kommend',
                'command_reference',
              ],
            },
          ],

Make sure the nav item order is similar to the English version.

BTW: It will be perfect if you update the nu-docs/i18n-meta.json file, fill the locale value of the doc you have just finished. It's recommend to use commit_id@author or simply a commit_id to indicate your translation end to the specified commit; After that, You can use command like nu ./i18n.nu outdated de to check the outdated translations(documents have been changed after your last translation) for de translation.

For example, if you run nu ./i18n.nu outdated zh-CN will get :

╭────┬─────────────────────────────────┬────────────────────┬──────────╮
│ #  │              name               │       zh-CN        │ outdated │
├────┼─────────────────────────────────┼────────────────────┼──────────┤
│  0 │ README.md                       │ b6c91cabfa@hustcer │ Yes      │
│  1 │ coming_from_bash.md             │ b6c91cabfa@hustcer │ Yes      │
│  2 │ configuration.md                │ 008c89fc26@hustcer │ Yes      │
│  3 │ custom_commands.md              │ 008c89fc26@hustcer │ Yes      │
│  4 │ dataframes.md                   │ b6c91cabfa@hustcer │ Yes      │
│  5 │ environment.md                  │ 008c89fc26@hustcer │ Yes      │
│  6 │ installation.md                 │ 008c89fc26@hustcer │ Yes      │
│  7 │ loading_data.md                 │ 40925951fc@hustcer │ Yes      │
│  8 │ moving_around.md                │ c13a71d11@hustcer  │ Yes      │
│  9 │ nushell_map_functional.md       │ ae23eeba3@hustcer  │ Yes      │
│ 10 │ operators.md                    │ 0b0389f2c@hustcer  │ Yes      │
│ 11 │ scripts.md                      │ b6c91cabfa@hustcer │ Yes      │
│ 12 │ table_of_contents.md            │ c13a71d11@hustcer  │ Yes      │
│ 13 │ thinking_in_nushell.md          │ 12fbd8f31c@hustcer │ Yes      │
│ 14 │ types_of_data.md                │ 40925951fc@hustcer │ Yes      │
│ 15 │ working_with_lists.md           │ b6c91cabfa@hustcer │ Yes      │
│ 16 │ working_with_strings.md         │ b6c91cabfa@hustcer │ Yes      │
│ 17 │ 3rdpartyprompts.md              │ f5987a82d@hustcer  │ No       │
│ 18 │ aliases.md                      │ 40925951fc@hustcer │ No       │
│ 19 │ coloring_and_theming.md         │ 40925951fc@hustcer │ No       │
....

@petrisch
Copy link
Contributor Author

Alright, thanks for the help. Will try to improve this 😄
Now since my main branch has already conflicts again, I will close this again and reopen on another branch. I try to improve my git skills as well next time...

@petrisch petrisch closed this Jun 18, 2022
ayax79 pushed a commit to ayax79/nushell.github.io that referenced this pull request Jun 26, 2024
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.

2 participants