Skip to content

Add ja-JP.yml #2295

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

Merged
merged 11 commits into from
Mar 28, 2025
Merged

Add ja-JP.yml #2295

merged 11 commits into from
Mar 28, 2025

Conversation

manabu-nakamura
Copy link
Contributor

@manabu-nakamura manabu-nakamura commented Mar 13, 2025

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (refactoring and improving code)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Description

This is the first version of ja-JP.yml.

'01 / 23' is preferred over '23 / 01,' '23 Jan,' or 'Jan 23' in Japan.
But, it is difficult because the date is hard coded.
Workaround: Copy _layouts/archives.html into your repository's _layouts and change the hard coded date (line 26-29):

<span class="date day" data-ts="{{ ts }}" data-df="DD">{{ post.date | date: '%d' }}</span>
<span class="date month small text-muted ms-1" data-ts="{{ ts }}" data-df="{{ df_dayjs_m }}">
  {{ post.date | date: df_strftime_m }}
</span>

⬇️

<span class="date day" data-ts="{{ ts }}" data-df="MM / DD">{{ post.date | date: '%m / %d' }}</span>
<!--span class="date month small text-muted ms-1" data-ts="{{ ts }}" data-df="{{ df_dayjs_m }}">
  {{ post.date | date: df_strftime_m }}
</span-->

https://github.com/manabu-nakamura/chirpy-starter/blob/main/_layouts/archives.html
https://manabu-nakamura.github.io/chirpy-starter/archives/

https://github.com/manabu-nakamura/chirpy-starter
https://manabu-nakamura.github.io/chirpy-starter/

https://manabu-nakamura.github.io/posts/2025-03-13-chirpy/ (in Japanese)

Additional context

#2178

@cotes2020 cotes2020 merged commit 571c90f into cotes2020:master Mar 28, 2025
1 check passed
@cotes2020 cotes2020 linked an issue Mar 28, 2025 that may be closed by this pull request
1 task
@manabu-nakamura manabu-nakamura deleted the ja-JP branch March 29, 2025 01:26
apoplexi24 added a commit to apoplexi24/apoplexi24.github.io that referenced this pull request Apr 1, 2025
feat(i18n): add Japanese locale (cotes2020#2295)
bitwallke pushed a commit to bitwallke/bitwallke.github.io that referenced this pull request May 6, 2025
github-actions bot pushed a commit that referenced this pull request May 18, 2025
## [7.3.0](v7.2.4...v7.3.0) (2025-05-18)

### Features

* **i18n:** add Catalan Spanish locale translation ([#2349](#2349)) ([167c98c](167c98c))
* **i18n:** add Dutch locale ([#2076](#2076)) ([981ddba](981ddba))
* **i18n:** add Japanese locale ([#2295](#2295)) ([571c90f](571c90f))
* **i18n:** add persian language ([#2238](#2238)) ([7d4d35c](7d4d35c))

### Bug Fixes

* avoid `mathjax` loading failure on page refresh ([#2389](#2389)) ([401e2af](401e2af))
* improve accuracy of moving `img` element classes ([#2399](#2399)) ([d0f8f95](d0f8f95))
* prevent the search bar from moving when focused ([#2336](#2336)) ([f744929](f744929))
* recognize global theme mode ([#2357](#2357)) ([7708adb](7708adb))
* **search:** avoid missing spaces between paragraphs in search results ([#2199](#2199)) ([0eb7efa](0eb7efa))
* **ui:** fix incomplete border color on hover for tags ([#2359](#2359)) ([c626447](c626447))

### Improvements

* **seo:** improve accessibility and aligns with best practices ([#2289](#2289)) ([54d4d59](54d4d59))
Datta0 added a commit to Datta0/datta0.github.io that referenced this pull request May 20, 2025
commit 53770e4
Author: semantic-release-bot <[email protected]>
Date:   Sun May 18 13:17:30 2025 +0000

    chore(release): 7.3.0

    ## [7.3.0](cotes2020/jekyll-theme-chirpy@v7.2.4...v7.3.0) (2025-05-18)

    ### Features

    * **i18n:** add Catalan Spanish locale translation ([cotes2020#2349](cotes2020#2349)) ([167c98c](cotes2020@167c98c))
    * **i18n:** add Dutch locale ([cotes2020#2076](cotes2020#2076)) ([981ddba](cotes2020@981ddba))
    * **i18n:** add Japanese locale ([cotes2020#2295](cotes2020#2295)) ([571c90f](cotes2020@571c90f))
    * **i18n:** add persian language ([cotes2020#2238](cotes2020#2238)) ([7d4d35c](cotes2020@7d4d35c))

    ### Bug Fixes

    * avoid `mathjax` loading failure on page refresh ([cotes2020#2389](cotes2020#2389)) ([401e2af](cotes2020@401e2af))
    * improve accuracy of moving `img` element classes ([cotes2020#2399](cotes2020#2399)) ([d0f8f95](cotes2020@d0f8f95))
    * prevent the search bar from moving when focused ([cotes2020#2336](cotes2020#2336)) ([f744929](cotes2020@f744929))
    * recognize global theme mode ([cotes2020#2357](cotes2020#2357)) ([7708adb](cotes2020@7708adb))
    * **search:** avoid missing spaces between paragraphs in search results ([cotes2020#2199](cotes2020#2199)) ([0eb7efa](cotes2020@0eb7efa))
    * **ui:** fix incomplete border color on hover for tags ([cotes2020#2359](cotes2020#2359)) ([c626447](cotes2020@c626447))

    ### Improvements

    * **seo:** improve accessibility and aligns with best practices ([cotes2020#2289](cotes2020#2289)) ([54d4d59](cotes2020@54d4d59))

commit d84b727
Merge: 5e41d87 519e4f1
Author: Cotes Chung <[email protected]>
Date:   Sun May 18 21:16:09 2025 +0800

    Merge branch 'master' into production

commit 519e4f1
Author: Cotes Chung <[email protected]>
Date:   Sun May 18 21:14:56 2025 +0800

    chore: upgrade dependencies to the latest version (cotes2020#2409)

commit d0f8f95
Author: Cotes Chung <[email protected]>
Date:   Sun May 11 22:19:18 2025 +0800

    fix: improve accuracy of moving `img` element classes (cotes2020#2399)

commit 401e2af
Author: Cotes Chung <[email protected]>
Date:   Mon May 5 11:55:48 2025 +0800

    fix: avoid `mathjax` loading failure on page refresh (cotes2020#2389)

commit ada38aa
Author: Cotes Chung <[email protected]>
Date:   Mon May 5 11:15:08 2025 +0800

    chore: avoid auto-formatting liquid and sass mixed code

commit 61ae6cc
Author: Cotes Chung <[email protected]>
Date:   Mon May 5 11:14:07 2025 +0800

    chore(dev-deps): add eslint config file

commit 9f38a2d
Author: Cotes Chung <[email protected]>
Date:   Sat May 3 16:18:52 2025 +0800

    refactor: move the path of `theme.js`

commit 23d953c
Author: Cotes Chung <[email protected]>
Date:   Sat May 3 16:14:50 2025 +0800

    chore(deps): remove plugin `jekyll-redirect-from`

    Discussed in cotes2020#2313

commit b48ea68
Author: iSpeakNerd <[email protected]>
Date:   Thu Apr 24 05:25:46 2025 -0700

    chore: update `linkedin` sharing url (cotes2020#2307)

commit c626447
Author: László Várady <[email protected]>
Date:   Thu Apr 24 14:23:43 2025 +0200

    fix(ui): fix incomplete border color on hover for tags (cotes2020#2359)

commit 7708adb
Author: Cotes Chung <[email protected]>
Date:   Wed Apr 16 18:08:43 2025 +0800

    fix: recognize global theme mode (cotes2020#2357)

commit 167c98c
Author: Delyn Choong <[email protected]>
Date:   Sun Apr 13 22:16:47 2025 +0800

    feat(i18n): add Catalan Spanish locale translation (cotes2020#2349)

commit f744929
Author: László Várady <[email protected]>
Date:   Mon Apr 7 13:36:32 2025 +0200

    fix: prevent the search bar from moving when focused (cotes2020#2336)

commit db40db6
Author: Alejandro <[email protected]>
Date:   Sat Apr 5 01:28:29 2025 +0200

    chore: add parameter in `search-results.html` (cotes2020#2330)

commit 571c90f
Author: nakamura <[email protected]>
Date:   Sat Mar 29 04:54:54 2025 +0900

    feat(i18n): add Japanese locale (cotes2020#2295)

commit 54d4d59
Author: Türkalp Burak KAYRANCIOĞLU <[email protected]>
Date:   Sat Mar 8 17:24:47 2025 +0300

    perf(seo): improve accessibility and aligns with best practices (cotes2020#2289)

commit e315864
Author: Corey Goldberg <[email protected]>
Date:   Tue Mar 4 16:06:37 2025 -0500

    docs: fix typo in `2019-08-08-write-a-new-post.md` (cotes2020#2281)

    Signed-off-by: Corey Goldberg <[email protected]>

commit 7d4d35c
Author: MasihGhaznavi <[email protected]>
Date:   Sun Feb 9 09:58:39 2025 +0330

    feat(i18n): add persian language (cotes2020#2238)

commit 231956d
Author: algorithmic-parallels <[email protected]>
Date:   Thu Feb 6 00:27:54 2025 -0500

    docs: using long form Jekyll subcommand (cotes2020#2231)

Signed-off-by: datta0 <[email protected]>
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.

Add Japanese (ja-JP) locale support
2 participants