Skip to content

[cheatsheet] Add Japanese translation - #122

Merged
raysan5 merged 21 commits into
raysan5:masterfrom
LuisR385:feature/japanese-cheatsheet
Jul 30, 2026
Merged

[cheatsheet] Add Japanese translation#122
raysan5 merged 21 commits into
raysan5:masterfrom
LuisR385:feature/japanese-cheatsheet

Conversation

@LuisR385

Copy link
Copy Markdown
Contributor

Description

This PR adds an experimental Japanese translation of the raylib cheatsheet.

It is based on the proposal discussed in:

Current scope

This is an initial prototype and is not a complete Japanese translation yet.

Currently, this PR:

  • Adds cheatsheet/cheatsheet_ja.html
  • Adds a Japanese-specific source file at cheatsheet/ja/raylib_core.c
  • Translates the cheatsheet page headings and navigation text
  • Translates the descriptions for the cursor-related functions in the rcore module
  • Keeps untranslated modules and API descriptions in English for now
  • Adds Japanese-compatible fallback fonts

Purpose

The purpose of this draft is to confirm the preferred structure and translation approach before translating the remaining raylib modules.

In particular, I would appreciate feedback on:

  • Whether a separate ja/ directory is appropriate
  • Whether translations should be submitted module by module or as one complete translation
  • Preferred terminology and writing style for Japanese API descriptions
  • How the Japanese cheatsheet should be linked from the existing cheatsheet page

Testing

  • Confirmed that the Japanese cheatsheet loads in a browser
  • Confirmed that Japanese characters are displayed correctly
  • Confirmed that the existing English module files can still be loaded
  • Confirmed that dark mode and the responsive layout continue to work

image 1 :
image


image 2 :
image


Notes

This PR is currently a work in progress. After the structure and translation policy are approved, I plan to continue translating the remaining functions and modules.

@raysan5

raysan5 commented Jul 24, 2026

Copy link
Copy Markdown
Owner

@LuisR385 Proposal looks great, let me know when ready!

@LuisR385
LuisR385 marked this pull request as ready for review July 27, 2026 18:20
@LuisR385

Copy link
Copy Markdown
Contributor Author

Hi @raysan5,

I added a Japanese translation of the raylib v6.0 cheatsheet.

Main changes:

  • Added a Japanese Translation link below the existing Chinese translation entry on the English cheatsheet.
  • Added Japanese descriptions for all eight sections: rcore, rshapes, rtextures, rtext, rmodels, raudio, structs, and colors.
  • Kept all C API names, types, constants, enum values, parameter names, and function signatures unchanged.
  • Added Japanese system-font fallbacks without adding new font files.
  • Improved the contrast and readability of Japanese API comments.
  • Added translator credit and clarified that usage follows the existing raylib license.

Screenshots

English cheatsheet — Japanese translation link

image

Japanese cheatsheet — header, translator credit, license notice, and rcore

image
More screenshots

Japanese rtext module

image

Japanese structs and colors

image

Mobile-width layout

image

Please let me know if you would prefer any different wording, layout, or attribution format.

@LuisR385 LuisR385 changed the title [WIP] Add experimental Japanese translation for raylib cheatsheet [cheatsheet] Add Japanese translation Jul 27, 2026
@raysan5
raysan5 merged commit 7d188af into raysan5:master Jul 30, 2026
@raysan5

raysan5 commented Jul 30, 2026

Copy link
Copy Markdown
Owner

@LuisR385 It looks fantastic, thank you very much for this great improvement!

As the supported languages is growing for the cheatsheet, probably it should be further reviewed to better accomodate to other languages. Some improvements:

  • Move English translation to en directory
  • Use a simple langauge selector line in the cheatsheet.html:
Language: English - 简体中文 - 日本語 - ...
  • Use a single unified cheatsheet.html file, instead of one per language, reload selected language dynamically
  • Support additional languages

Those are some potential improvements to consider on future PRs. For now, I'm merging this addition.

Thanks you vey much again!

@LuisR385

Copy link
Copy Markdown
Contributor Author

@LuisR385 It looks fantastic, thank you very much for this great improvement!

As the supported languages is growing for the cheatsheet, probably it should be further reviewed to better accomodate to other languages. Some improvements:

  • Move English translation to en directory
  • Use a simple langauge selector line in the cheatsheet.html:
Language: English - 简体中文 - 日本語 - ...
  • Use a single unified cheatsheet.html file, instead of one per language, reload selected language dynamically
  • Support additional languages

Those are some potential improvements to consider on future PRs. For now, I'm merging this addition.

Thanks you vey much again!

Thanks for merging the PR!

I'd also be happy to help maintain the Japanese translation and update it for future raylib releases. Please feel free to mention me or let me know whenever any translation updates or reviews are needed.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants