Skip to content

docs(translations): update Web3.py method names to snake_case #16606

@ethan0xbuilds

Description

@ethan0xbuilds

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:

  • toWeito_wei
  • fromWeifrom_wei
  • toHexto_hex
  • isAddressis_address

This is purely a textual/docs update; no runtime code or examples' logic will be changed.

Describe alternatives you've considered

  1. Leave the camelCase in translations and add a version-note — NOT recommended because it causes confusion for readers following current Web3.py docs.
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature ✨This is enhancing something existing or creating something newneeds triage 📥This issue needs triaged before being worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions