-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
Is your feature request related to a problem? Please describe.
Description
Confirmed with Web3.py v6 that several translated tutorials are still using outdated camelCase method names. These should be updated to use snake_case to match the Web3.py v6 API.
Reference: https://web3py.readthedocs.io/en/v6.1.0/v6_migration.html#snake-case
Describe the solution you'd like
Update the static documentation text in the translations to use the snake_case Web3.py method names introduced in v6.
Concretely, replace occurrences in the listed translation files:
toWei→to_weifromWei→from_weitoHex→to_hexisAddress→is_address
This is purely a textual/docs update; no runtime code or examples' logic will be changed.
Describe alternatives you've considered
- Leave the camelCase in translations and add a version-note — NOT recommended because it causes confusion for readers following current Web3.py docs.
- Only update the English source and wait for translators to sync — slower and risks diverging docs.
Therefore updating translated files to match the current API is the preferred option.
Additional context
I’ve already prepared the changes locally and will open a PR linked to this issue shortly.
Affected files are listed in the PR and briefly in this issue.
Reference (Web3.py v6 migration - snake_case): https://web3py.readthedocs.io/en/v6.1.0/v6_migration.html#snake-case
Files affected
- public/content/translations/zh/developers/tutorials/a-developers-guide-to-ethereum-part-one/index.md
- public/content/translations/de/developers/tutorials/a-developers-guide-to-ethereum-part-one/index.md
- public/content/translations/id/developers/tutorials/a-developers-guide-to-ethereum-part-one/index.md
- public/content/translations/ro/developers/tutorials/a-developers-guide-to-ethereum-part-one/index.md
Would you like to work on this issue?
- Yes
- No