Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Swedish Translation Progress #1

Closed
4 of 88 tasks
tesseralis opened this issue Mar 4, 2019 · 47 comments
Closed
4 of 88 tasks

Swedish Translation Progress #1

tesseralis opened this issue Mar 4, 2019 · 47 comments

Comments

@tesseralis
Copy link
Contributor

tesseralis commented Mar 4, 2019

Maintainer List

For New Translators

To translate a page:

  1. Check that no one else has claimed your page in the checklist and comments below.
  2. Comment below with the name of the page you would like to translate. Please take only one page at a time.
  3. Clone this repo, translate your page, and submit a pull request!

Before contributing, read the glossary and style guide (once they exist) to understand how to translate various technical and React-specific terms.

Please be prompt with your translations! If you find find that you can't commit any more, let the maintainers know so they can assign the page to someone else.

For Maintainers

When someone volunteers, edit this issue with the username of the volunteer, and with the PR. Ex:

When PRs are merged, make sure to mark that page as completed!

Core Pages

To do before releasing as an "official" translation. Please translate these pages first.

Basics

API Reference

  • React
  • React.Component
  • ReactDOM
  • ReactDOMServer
  • DOM Elements
  • SyntheticEvent
  • Test Utilities
  • Shallow Renderer
  • Test Renderer
  • JS Environment Requirements
  • Glossary

Navigation

These are the navigation links that appears in the sidebar. Possibly wait until
the corresponding sections are translated to do these.

  • tutorial/nav.yml
  • docs/nav.yml

Next Steps

These are the next most important translations, ordered by importance:

Installation

Hooks

Everyone is hooked on hooks! People are really excited for these and it would be great for them to be translated.

  • Introducing Hooks
  • Hooks at a Glance
  • Using the State Hook
  • Using the Effect Hook
  • Rules of Hooks
  • Building Your Own Hooks
  • Hooks API Reference
  • Hooks FAQ

Warnings

These are the pages that you get when you click the links in the console (e.g. https://reactjs.org/warnings/dont-call-proptypes.html). People tend to search these, so please don't translate the error message itself.

  • dont-call-proptypes
  • invalid-aria-prop
  • invalid-hook-call-warning
  • legacy-factories
  • refs-must-have-owner
  • special-props
  • unknown-prop

Advanced Guides

  • Accessibility
  • Code-Splitting
  • Context
  • Error Boundaries
  • Forwarding Refs
  • Fragments
  • Higher-Order Components
  • Integrating with Other Libraries
  • JSX In Depth
  • Optimizing Performance
  • Portals
  • React Without ES6
  • React Without JSX
  • Reconciliation
  • Refs and the DOM
  • Render Props
  • Static Type Checking
  • Strict Mode
  • Typechecking With PropTypes
  • Uncontrolled Components
  • Web Components

FAQ

  • APIs and AJAX
  • Babel, JSX, and Build Steps
  • Passing Functions to Components
  • Component State
  • Styling and CSS
  • File Structure
  • Versioning Policy
  • Virtual DOM and Internals

Contributing

Priority: Low

  • How to Contribute
  • Codebase Overview
  • Implementation Notes
  • Design Principles

Components

Components in src/components that have some text in them.

Additional Translations

These are not the primary translation targets.

  • Blog
  • Community
@tesseralis
Copy link
Contributor Author

@rloqvist, @machalvan please use this issue to track your progress and let me know if you have any questions!

@rloqvist
Copy link
Contributor

@tesseralis Hello Nat, thank you!

@tesseralis
Copy link
Contributor Author

@rloqvist @machalvan how's it going? Please let me know if you need any help

@rloqvist
Copy link
Contributor

rloqvist commented Apr 5, 2019

@tesseralis Hello, we were initially waiting for more people to join in, but we will start the process of translating with just the two of us! We will be sure to ask if there is ever anything we require help with!

@nsadev
Copy link
Contributor

nsadev commented Apr 16, 2019

@tesseralis
Hi there! Would it be welcome to get help with the translations from someone who's quite new at contributing to open source (me) and eager to get started? Can't see that anyone claimed any pages so if the "Hello World" page is still up for grabs I could start out with that. Let me know if that would be ok and also if I'd need to fork any repo before cloning this one.

@machalvan
Copy link

Hi @nsadev! You are very welcome to help with the translations. I sign you up for the "Hello World" page. No forking is needed, just clone the repo and submit a PR when you are done. I hope you will enjoy the world of open source.

@nsadev
Copy link
Contributor

nsadev commented Apr 16, 2019

@machalvan Great, thank you!

@nsadev
Copy link
Contributor

nsadev commented Apr 23, 2019

Hello!

Have finished the translation though it's still in a Word-doc since running into problems when trying to get Yarn and Gatsby to play nicely = can't see the site "live" which would be good, easier to see if the text flow is ok that way.

It's the first time I'm using both Yarn and Gatsby (got the lastest stable verisons of both), anyone know what the most common problem is when getting the error "There was an error compiling the html.js component for the development server", or no need to ge it up and running and just add the translation and make the PR?

@rloqvist
Copy link
Contributor

Hi @nsadev ! First of all, welcome!

Secondly, I've never experienced that particular error. What is the output of node --version && yarn --version && gatsby --version? Make sure you have at least version 8.15.1 (or any of the carbon releases) of node.

If you still have issues, you are more than welcome to submit a PR to my personal fork, where I can inspect it live. If it runs and looks good you can then submit a PR to this current fork.

@nsadev
Copy link
Contributor

nsadev commented Apr 24, 2019

Hi @rloqvist and thank you!

The versions are: v10.15.1, 1.15.2 and 2.5.9 so that shouldn't be the problem.

Could it possibly be that it's "just" a clone (the info from machalvan said I only needed a clone) and not a fork that causes the problem?

Have googled quite a bt and others have encountered the problem but it's been different solutions for most of them.

@rloqvist
Copy link
Contributor

A fork and a clone of a repo are exactly the same thing.

I created a branch in this repo called Hello-World-v1, you can push to that with git push -u origin Hello-World-v1, and if there are no run-time errors we can merge it into the tree 🙂

@nsadev
Copy link
Contributor

nsadev commented Apr 24, 2019

And the newbie problems continue.. When pushing with the command given by @rloqvist I'm getting an error that the permission is denied. Did "checkout -b Hello-World-v1" before adding the translation, was that wrong and not needed?

Edit: restarting and trying to make the change in all ways (that I know of) give the same error.

@rloqvist
Copy link
Contributor

If you create your own fork in github and create a pull request from there it will help with the permission error 🙂

@nsadev
Copy link
Contributor

nsadev commented Apr 28, 2019

Created my own fork but it didn't help with the permission error.

Found the problem with getting Gatsby up and running, had swedish letters in the folder name. It only shows a blank page but always something.

Could I email the translation to anyone of you instead? You can remove me from the Hello World-page, happy to provide the translation with no credit.

@rloqvist
Copy link
Contributor

rloqvist commented May 4, 2019

I believe it is because you are still trying to push to this repo. If you push to your fork we could set up a pull request from there 🙂

@nsadev
Copy link
Contributor

nsadev commented May 8, 2019

Think I managed to figure out what you were referring to, at least got the push and all to work so a PR is sent. Still get a blank page when trying to view the site (several errors in the console to go through) so haven't been able to check if everything looks ok and works, etc. Do let me know if anything need to be changed/corrected.

@rloqvist
Copy link
Contributor

rloqvist commented May 8, 2019

Hello again! Had a look at your translation and think we know the reason you get some errors. When translating everything needs to remain the same under the hood with links, paths, ids etc. There is also no need to create new files, the old files can be edited in place, e.g. hello-world.md.

First step could be to move all the contents of hej-varlden.md to hello-world.md.

Secondly, take a look at the style guide for translations.

And lastly, if you ever have any questions, just get back to us and we will try to help out in any way possible 🙂

Edit: Here is an example taken from the russian site https://github.com/reactjs/ru.reactjs.org/pull/2/files

@nsadev
Copy link
Contributor

nsadev commented May 8, 2019

Shoot, read the style guide before asking about contributing and seem to have forgotten about it right away after, sorry! About to correct it all but just to (hopefully) keep errors to the minimum this time, should the title of the page (top of the page below the id) be translated or is that part of all the under the hood stuff as well?

The problem with viewing the site in a browser seem to be something with Gatsby and looks like a semi-common problem, will look into it a bit more.

@rloqvist
Copy link
Contributor

rloqvist commented May 8, 2019

I would make it as a rule of thumb that all the "text" the user sees should be translated 🙂

@nsadev
Copy link
Contributor

nsadev commented May 9, 2019

The title is seen both in the navigation and at the top of the page it self 😏

Didn't translate the title when making the corrections to the Hello World page though. New PR sent, still haven't found the right solution to view the site in browser so please check it (fingers crossed that there are a minimum of errors).

@rloqvist
Copy link
Contributor

That is fine, there is both precedence for that and it is supported in the style guide 🙂 please review the feedback on your PR and we will merge it as soon as possible

@michaellopez
Copy link
Contributor

michaellopez commented Jun 18, 2019

@rloqvist @machalvan

I'm attempting to translate "Home Page". (see #3)

I'm not sure how to handle the text inside the components. So I just translated them straight up in the components themselves, let me know if it needs to be done some other way. I saw now that the components are on the list themselves.

Also I'm having a hard time finding this "glossary" that was described in the guidelines, any pointers?

@michaellopez
Copy link
Contributor

Also, as part of the Home Page translation I also translated the few words in the CodeEditor. See #4

@michaellopez
Copy link
Contributor

michaellopez commented Jun 19, 2019

I'm continuing with the Tutorial page, see #5. At around 1200 lines it might take me a few days to finish though. I'm currently around 14 % complete there...

@lofgrenfredrik
Copy link
Contributor

@rloqvist @machalvan

Rendering Elements seems unclaimed so I started translating that page. 👍

@lofgrenfredrik
Copy link
Contributor

@rloqvist @machalvan
Taking on the Components and Props page next. 👍

@andreasnilssondev
Copy link

andreasnilssondev commented Aug 6, 2019

Hello @rloqvist @machalvan

I would love to help on this if you like, it looks like there are not too many contributors yet and progress is on 3% https://isreacttranslatedyet.com/

If you need help I will get busy with the next page in line (Basics: State and Lifecycle). I can also check some of the existing PRs

Good job so far!

@michaellopez
Copy link
Contributor

@rloqvist @machalvan I'm doing Handling Events page now.

Also note that I've translated Tutorial in #5 but it is not marked in this issue as "taken by me".

@michaellopez
Copy link
Contributor

@rloqvist @machalvan Handling Events is now #11

I'm doing Conditional Rendering page now.

@shwilliam
Copy link

Hej @rloqvist @machalvan

Would be happy to help with this! Seems like no one has started translating the Forms page yet; will start working on this if that's alright?

@danielpox
Copy link

danielpox commented Dec 8, 2019

Hello @rloqvist and @machalvan

I would like to translate the Getting Started page.

Give me a thumbs up and I’ll get going. 😃

Edit: I’ve translated the page already at #13

@danielpox
Copy link

Would it make sense to partially translate docs/nav.yml as you translate the various pages? For example, when translating the Getting Started page, one may also update the title in docs/nav.yml, instead of waiting until all pages are complete. Sounds fair?

@danielpox
Copy link

I have translated the Thinking in React page: #14

@danielpox
Copy link

Moving on to translate the Create a New React App page.

@danielpox
Copy link

2. Please take only one page at a time.

Does this mean ”translate a page, then wait for it to be reviewed and approved before moving onto translating another page”, or does it simply mean ”don’t start translating another page until you’re done translating the current one”?

Asking for whether or not I can move through a bunch of pages. 😄

@michaellopez
Copy link
Contributor

@danielpox I would say the latter. AFAIK it is just so that you don't waste your own time. I have several PRs open, same as my colleague @lofgrenfredrik just go ahead :)

@danielpox
Copy link

Finished translating the Create a New React App page in #15.

@machalvan
Copy link

Hello @danielpox! Very good job so far. It is fine to work on multiple PRs at the time as long as you feel done with translating the previous page. I will update the progress on the pages you have worked with.

@andreasnilssondev
Copy link

Just to let you know I've closed my PR and removed the source fork on "State & lifecycle" due to inactivity, but please feel free to use the content but perhaps with a different author #9
Thanks

@michaellopez
Copy link
Contributor

Speaking of which, how is the progress on this? We also have the feeling of inactivity that @nAndreas expresses. What is the official status? What more can we do to move this along? @rloqvist @machalvan

@rloqvist
Copy link
Contributor

Admittingly, there have been some inactivity from our side. I'm looking through all the PR in the hope of getting the reviews done today. Tomorrow I will start consolidating all your great suggestions into the glossary.

@nAndreas I'm sorry to hear that, I will go through your translation and use as much of it as possible.

I apologize for this taking so long, I will try to do better in the future.

@michaellopez
Copy link
Contributor

@rloqvist No need to apologise, times of inactivity is totally understandable. Thanks for your efforts 🙇

@lekoaf
Copy link

lekoaf commented Dec 8, 2020

So, what's the deal here? Can anyone claim a topic and try their hand at translating this?

Is master up to date? Seems like there is an awful lot of PRs waiting to update the source.

Who's "in charge"?

@michaellopez
Copy link
Contributor

@lekoaf well yes, that was the idea. But the "ones in charge" (@rloqvist and @machalvan ) have been inactive for a very long time. Me and @lofgrenfredrik from We ahead have been trying to move this along with numerous PRs. I'm still willing to contribute but I think the repo needs new owners. Not sure if there is any process or if @tesseralis can make something happen...

@rloqvist
Copy link
Contributor

rloqvist commented Dec 8, 2020

There hasn't been much progress since last time and work really picked up for me and @machalvan and thats just how it is sometimes.

@michaellopez We initiated this project in the hopes that more people would join the maintainer team as we went along since it is kind of a large undertaking. If anyone wants to be added to the maintainer list just let me know and I will submit a pull request

@devpaps
Copy link

devpaps commented Apr 1, 2021

Hi guys! I would like to translate the "Add React to a Website". I've forked and are ready to get going. :)

@gaearon
Copy link
Contributor

gaearon commented Apr 21, 2023

It looks like this translation has stalled, and is now very outdated.
I'm going to archive this repo, but if someone wants to pick up, please start a new effort.

@gaearon gaearon closed this as completed Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests