[GH-ISSUE #956] Can not translate Junk or Trash. #518

Closed
opened 2026-02-25 21:35:14 +03:00 by kerem · 3 comments
Owner

Originally created by @PJ-568 on GitHub (Apr 16, 2024).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/956

🐛 Bugreport

Is it possible to apply translate to these?
I could not find Junk or Trash in array in language/*.
Can not tanslate

Steps to reproduce

N/A

Originally created by @PJ-568 on GitHub (Apr 16, 2024). Original GitHub issue: https://github.com/cypht-org/cypht/issues/956 ## 🐛 Bugreport Is it possible to apply translate to these? I could not find `Junk` or `Trash` in array in `language/*`. ![Can not tanslate](https://github.com/cypht-org/cypht/assets/63788100/37e97a51-2e9a-42e1-8dd4-77e09a4eeaad) ### Steps to reproduce N/A
kerem closed this issue 2026-02-25 21:35:14 +03:00
Author
Owner

@PJ-568 commented on GitHub (Apr 16, 2024):

And another question, it says that DEFAULT_LANGUAGE's Valid values are 2 character langauge codes that have matching language definitions in the language/ folder. So I set DEFAULT_LANGUAGE as cn, it did not work.

So it should be cn? Or zh-CN? Or zh-Hans, since the filename in language/ folder is zh-Hans.php?

<!-- gh-comment-id:2058620907 --> @PJ-568 commented on GitHub (Apr 16, 2024): And another question, it says that `DEFAULT_LANGUAGE's Valid values are 2 character langauge codes that have matching language definitions in the language/ folder`. So I set `DEFAULT_LANGUAGE` as `cn`, it did not work. So it should be `cn`? Or `zh-CN`? Or `zh-Hans`, since the filename in `language/` folder is `zh-Hans.php`?
Author
Owner

@josaphatim commented on GitHub (Apr 16, 2024):

DEFAULT_LANGUAGE

DEFAULT_LANGUAGE=zh-Hans

This works

<!-- gh-comment-id:2058666033 --> @josaphatim commented on GitHub (Apr 16, 2024): > DEFAULT_LANGUAGE DEFAULT_LANGUAGE=zh-Hans This works
Author
Owner

@josaphatim commented on GitHub (Apr 16, 2024):

🐛 Bugreport

Is it possible to apply translate to these? I could not find Junk or Trash in array in language/*. Can not tanslate

Steps to reproduce

N/A

You can now create a pull request with translation of Trash and Junk

<!-- gh-comment-id:2058668009 --> @josaphatim commented on GitHub (Apr 16, 2024): > ## 🐛 Bugreport > Is it possible to apply translate to these? I could not find `Junk` or `Trash` in array in `language/*`. ![Can not tanslate](https://private-user-images.githubusercontent.com/63788100/322774468-37e97a51-2e9a-42e1-8dd4-77e09a4eeaad.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTMyNjA1NTAsIm5iZiI6MTcxMzI2MDI1MCwicGF0aCI6Ii82Mzc4ODEwMC8zMjI3NzQ0NjgtMzdlOTdhNTEtMmU5YS00MmUxLThkZDQtNzdlMDlhNGVlYWFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDE2VDA5MzczMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU1NTcxOWM2NzkxYzE4N2YzYmYyM2VkMmMxMGRlOTQyNTYxMzc2YjQxMWFmMzlhYTAwMDg0N2VkNjY1NDg5MGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.AIzYW6Rqy1CHNbs1o-_sozU1WF_MgeEBV4Wwa8UvBnc) > > ### Steps to reproduce > N/A You can now create a pull request with translation of Trash and Junk
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#518
No description provided.