Skip to content

Add Catalan Language Support #504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Ricard-Garcia opened this issue Sep 3, 2024 · 2 comments
Open

Add Catalan Language Support #504

Ricard-Garcia opened this issue Sep 3, 2024 · 2 comments

Comments

@Ricard-Garcia
Copy link

Increasing Access

I would like to suggest adding support to catalan in the website. Catalan is spoken by over 10 million people in various regions, including Catalonia, the Balearic Islands, and Valencia, among others. Since the main goal of the library is to make it accessible beyond any cultural border (amongst other) I think by including catalan, p5.js can reach a broader audience and support the inclusion of Catalan-speaking creators in the global creative coding community.

Most appropriate sub-area of p5.js?

Other (specify if possible)

Feature request details

Proposal

  • Add Catalan (ca) as a supported language in the localisation files in the website repository.
  • Translate the existing interface strings, documentation, and error messages to catalan.

Implementation

  • I can help contribute the initial translation or work with others in the community to ensure accurate translations.
  • Update the language selection menu to include Catalan.

References

Catalan overview

Thank you for considering this suggestion. I would be more than happy if you take this issue so that catalan community can benefit from this new feature in the website and, who knows, maybe in the library in the future.

@flors
Copy link

flors commented Sep 5, 2024

I can contribute with the translation!

@asukaminato0721
Copy link
Contributor

@Ricard-Garcia One way to quickly do this job.

Take https://raw.githubusercontent.com/processing/p5.js-website/refs/heads/main/src/content/examples/en/01_Shapes_And_Color/00_Shape_Primitives/description.mdx as an example.

use translate md into Catalan language as prompt, copy paste the markdown into LLM like

and many more. And check the result.

below is an example, I don't know Catalan so I can't check it though.

---
featuredImage: "../../../images/featured/01_Shapes_And_Color-00_Shape_Primitives-thumbnail.png"
featuredImageAlt: Unes quantes formes bàsiques dibuixades en blanc i negre sobre un fons gris.
title: Primitives de Forma
oneLineDescription: Dibuixa formes 2D.
relatedReference:
  - ca/p5/arc
  - ca/p5/ellipse
---

Aquest programa demostra l'ús de les funcions primitives de forma bàsiques
<a href="https://p5js.org/reference/p5/square" target="_blank">square()</a>,
<a href="https://p5js.org/reference/p5/rect" target="_blank">rect()</a>,
<a href="https://p5js.org/reference/p5/ellipse" target="_blank">ellipse()</a>,
<a href="https://p5js.org/reference/p5/circle" target="_blank">circle()</a>,
<a href="https://p5js.org/reference/p5/arc" target="_blank">arc()</a>,
<a href="https://p5js.org/reference/p5/line" target="_blank">line()</a>,
<a href="https://p5js.org/reference/p5/triangle" target="_blank">triangle()</a>,
i <a href="https://p5js.org/reference/p5/quad" target="_blank">quad()</a>.

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

No branches or pull requests

3 participants