Open main menu

Gramps β

Changes

Translating Gramps/he

370 bytes added, 21 April
m
תרגום עמודי man
==תרגום עמודי man==
{{man warn|Environment changeעל שינוי סביבה|For gramps ל־Gramps 4.0, {{stable_branch}} and masterו־master, see נא לקרוא [[Translation_environment4/he#Translating_man_pages|new environmentסביבה חדשה]].}}
You can also translated the man pages into your own languageגם את דפי ה־man ניתן לתרגם לכול לשפה לרבות לעברית.
For the development version לגרסת הפיתוח (ענף master branch) you can find the required starting files under the directory אפשר למצוא את קבצי הפתיחה הנדרשים במחיצת ה־directory data/man. You will find the filesשם ימצאו הקבצים הבאים:
*Makefile.am
*gramps.1.in
First off all you must make a directory for your language under ראשית נדרש ליצור מחיצה עבור שפת היעד בתיקיה data/man.
<div dir="ltr">
<code>cd data/man</code>
</div> and do לייצור תקיה באמצעות הפקודה
<div dir="ltr">
<code>mkdir xx</code>
</div> where כאשר xx is your languagecode הוא קוד השפה הרצויה (fr for Frenchלצרפתית, sv for Swedishלשוודית, etc.he לעברית וכן הלאה) You should use Gitלשם כך נדרש להשתמש ב־Git. See kלקריאה נוספת [[מבוא ל־Git Brief_introduction_to_Git| the introduction to Git]]. Next step is to copy the Makefile.am and gramps.1.in from data/man to your new directory. Translate all relevant strings in the data/man/xx/gramps.1.in file. Change the file data/man/xx/Makefile.am:*add the line mandir = @mandir@/xx*change the line && CONFIG_FILES=data/man/xx/$@ $(SHELL)
בשלב הבא נדרש להעתיק את הקבצים Makefile.am ו־gramps.1.in מ-data/man לתקיה החדשה שנוצרה בשלב הקודם. לתרגם את כל המחרוזות הרלוונטיות בקובץ data/man/xx/gramps.1.in. לשנות את נתוני הקובץ/man/xx/Makefile.am:
*להוסיף את השורה mandir = @mandir@/xx
*לשנות את השורה && CONFIG_FILES=data/man/xx/$@ $(SHELL)
Next step: change the file data/man/Makefile:
*add xx to the line SUBDIRS = fr nl sv
3,401
edits