Skip to content

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

@shibomb

Description

@shibomb
Contributor

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.

Activity

linked a pull request that will close this issue on Oct 9, 2024
limzykenneth

limzykenneth commented on Jan 31, 2025

@limzykenneth
Member

Would changing the capitalization of the YAML file work in this case? Changing the filename can be tricky because Mac by default don't track file path capitalization and can confuse git when trying to do so.

rthakur2712

rthakur2712 commented on Apr 17, 2025

@rthakur2712

Hi @limzykenneth !! This 2-step rename will be tracked by git.

rthakur2712

rthakur2712 commented on Apr 17, 2025

@rthakur2712

Hi @ksen0 !! Thank you for your response, but I couldn't find a way to change except from the changing the capitalization of the file name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @shibomb@limzykenneth@rthakur2712

      Issue actions

        Cannot translate "Listing Data with Arrays" in JumpTo Sidebar on Examples page. · Issue #584 · processing/p5.js-website