processing / processing/p5.js-web-editor

Translate generateRandomName

Open
#1,589 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Translation Feature Request
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

  • Existing feature enhancement

Currently, as soon as you open the editor a random name is generated, both for sketch and collection, using friendly-words
https://github.com/processing/p5.js-web-editor/blob/develop/client/utils/generateRandomName.js

Feature enhancement details:
  • If the user has different language preferences than English, the random friendly-words need to be gathered from a curated collection of words in that given language.

Contributor guide

Open the contributing guide

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 client/utils/generateRandomName.js, then trace how the editor reads a user's language preference. Define the curated word collections and verify that opening the editor generates localized random names for sketches and collections when the preference is not English.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, internationalization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.