Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to add new translation file for new language#475

Unanswered
mrmmg asked this question inQ&A
Discussion options

Hi

I have decided to participate in open source projects.
My native language is Persian (Farsi) and usually the documents that novice programmers need are written at high levels of English language that are difficult for them to read.

For this reason, I decided to provide a suitable Persian translation for this repository. Please advise me on how to translate English to Persian, I mean how can I find English language files with the po extension?

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

Hi@mrmmg,
that's a great idea! You can copy one of the folders inhttps://github.com/DesignPatternsPHP/DesignPatternsPHP/tree/main/locale and rename it to the ISO code for Persian (Farsi). Every file contains the english phrases in themsgid fields, so you can delete the existing translations and add your own instead. After your PR is merged, I will then add it to ReadTheDocs and it will be linked to the English version.

You must be logged in to vote
1 reply
@mrmmg
Comment options

Hi@domnikl
Ok, very nice
I will work on translation :)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@mrmmg@domnikl

[8]ページ先頭

©2009-2025 Movatter.jp