Ismailtaktak / freemedforms

Automatically exported from code.google.com/p/freemedforms
Other
0 stars 0 forks source link

Title should be not hard coded #206

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
ATM in FMF the Title of an identity is hard coded, there is a list f "Mr.", 
"Captain", "Doctor" etc. that is translated into each language, and that is 
saved in the database as ad (index) number.

This is not very future-proof, is not easily extendable, and lacks 
internationality... In some countries there arre no "Captain" titles, or have 
different meanings (a.g. U.S.: - military, Germany: captain of a ship)

Possible solutions:
* Save titles as plain text, and just leave the VERY basic ones hard coded (Mr, 
Mrs): easy, but not convenient
* separate the salutation (Mr) from the (acad.) Title (Doctor, MD): complicated

My preferred:
* Keep some basic salutations/titles (Mr, Mrs, Doctor, etc) for each country as 
fallback/default, but just as basics. The title is saved via plain text. Any 
Title can be entered in the combo box manually.
Maybe already saved ones become auto-completion.

Original issue reported on code.google.com by christian.a.reiter@gmail.com on 8 Nov 2012 at 8:48