processing / processing/p5.js-website

Cannot translate "Listing Data with Arrays" in JumpTo Sidebar on Examples page.

Open
#584 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
MDX
Stars
96
Forks
322
Avg merge
5d 22h
Merged PRs (30d)
8

Description

Most appropriate sections of the p5.js website?

Examples

What is your operating system?

None

Web browser and version

No response

Actual Behavior

Cannot translate the “Listing Data with Arrays” in the JumpTo sidebar on the example page.
(This occurred when I was translating the Japanese version.)

Expected Behavior

It is translated correctly.

This name is generated from the folder name “08_Listing_Data_with_Arrays”.
Based on the other folder names in content/examples/en/, it may be correct to change the “with” in this folder name to “With”.

Then "Listing Data With Arrays"("W" is Upper Case.) will match the word defined in ui/en.yaml :-)

スクリーンショット 2024-10-07 22 02 15

Steps to reproduce

This does not occur in the current source code.
However, it will occur in the future when you translate src/content/ui/es.yaml etc. in sync with en.yaml.

Would you like to work on the issue?

It is difficult for me to change folder names from lower case to upper case.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the example folder content/examples/en/08_Listing_Data_With_Arrays and the matching label in ui/en.yaml. Rename the folder as proposed, then verify that the JumpTo sidebar resolves the example name and that future locale translations can use the matching label.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
content, localization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.