Jump to content
Wiki Home
EPrints Home
Bazaar
Files
Main menu
Main menu
move to sidebar
hide
Navigation
Front Page
EPrints 3 Manual
EPrints Training Course
EPrints Glossary
Installing EPrints
How-to Configure EPrints
EPrints 3.2+ API
EPrints 3 Reference
EPrints Plugins
Wiki
All categories
Recent changes
Main Page
Help
EPrints Documentation
Search
Search
Appearance
Log in
Request account
Personal tools
Log in
Request account
Pages for logged out editors
learn more
Contributions
Talk
Editing
Adding multilang fields
(section)
Page
Discussion
British English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Adding the appropriate phrases == EPrints phrases are not aware of our new field ('''ml_title'''), so we need to update them. In our example we update the phrases for the English and for the Greek languages ('''en''' and '''el''' respectively). We chose to add new files instead of changing the default ones so as to help EPrints upgrades. So, for the English language we can add the file '''~eprints/archives/reponame/cfg/lang/en/phrases/local.xml''' that contains the following information: <source lang="html4strict"> <epp:phrase id="eprint_fieldname_ml_title">Title</epp:phrase> <epp:phrase id="eprint_fieldname_ml_title_text">Text</epp:phrase> <epp:phrase id="eprint_fieldname_ml_title_lang">Language</epp:phrase> <epp:phrase id="eprint_fieldhelp_ml_title">The title of the item. The title should not end with a full stop, but may end with a question mark. There is no way to make italic text, please enter it normally. If you have a subtitle, it should be preceded with a colon [:]. Use capitals only for the first word and for proper nouns. <br/>Example: <span class="ep_form_example">A brief history of time</span> <br/>Example: <span class="ep_form_example">Life: an unauthorised biography</span> <br/>Example: <span class="ep_form_example">Mathematics for engineers and scientists. 5th edition</span> <br/>Example: <span class="ep_form_example">Ecosystems of the world. Vol. 26. Estuaries of the world</span> </epp:phrase> </source> Greek phrases can be added in file '''~eprints/archives/reponame/cfg/lang/el/phrases/local.xml''': <source lang="html4strict"> <epp:phrase id="eprint_fieldname_ml_title">Τίτλος</epp:phrase> <epp:phrase id="eprint_fieldname_ml_title_text">Κείμενο</epp:phrase> <epp:phrase id="eprint_fieldname_ml_title_help">Το help τεξτ</epp:phrase> <epp:phrase id="eprint_fieldname_ml_title_lang">Γλώσσα</epp:phrase> <epp:phrase id="eprint_fieldhelp_ml_title">Ο τίτλος του τεκμηρίου. Ο τίτλος δεν πρέπει να τελειώνει με τελεία, αλλά μπορεί να τελειώνει με ερωτηματικό. Δεν υπάρχει τρόπος να γράψετε με πλάγια γράμματα, παρακαλώ χρησιμοποιήστε απλό κείμενο. Εάν έχετε έναν υπότιτλο, θα πρέπει να προηγείται η άνω και κάτω τελεία του υπότιτλου [:]. Χρησιμοποιήστε κεφαλαία γράμματα μόνο στην πρώτη λέξη και στα κύρια ονόματα. <br/>Παράδειγμα: <span class="ep_form_example">Μια σύντομη ιστορία</span> <br/>Παράδειγμα: <span class="ep_form_example">Καβάφης: η βιογραφία</span> <br/>Παράδειγμα: <span class="ep_form_example">Μαθηματικά για μηχανικούς και επιστήμονες. 5η έκδοση</span> <br/>Παράδειγμα: <span class="ep_form_example">Οικοσυστήματα του πλανήτη. Τόμ. 26. Εκβολές του πλανήτη.</span> </epp:phrase> </source>
Summary:
Please note that all contributions to EPrints Documentation may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
EPrints Documentation:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)