Bienvenue, Invité
Nom d'utilisateur : Mot de passe :
Whilst small files can be uploaded to forum posts, if you have a custom theme or module to contribute please add it on the "Add-ons" page.
  • Page :
  • 1

SUJET :

Allowing for both Kanji and Romaji il y a 1 an 10 mois #1

  • toast
  • Portrait de toast Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
  • Messages : 4
Hi there,

My wife is Japanese, so I'm trying to make branches on both sides, but I want to retain kanji and also have the romaji (as in the Latin spelling) visible for any relatives on my side. I know I can add in an alias, but is there another way to do this? I dislike the idea of putting kanji or romaji as aliases, because neither are aliases.

Perhaps something more along the lines of "Add language" and it allows you to write the name in another language? Then in the tree, if a language has been added, it will list both names. Anything like this exist? If not, how long would it likely take to make something like this, and where should I look to make this functionality?

Kind regards,

Karl

Connexion ou Créer un compte pour participer à la conversation.

Dernière édition: par toast.

Allowing for both Kanji and Romaji il y a 1 an 10 mois #2

  • fisharebest
  • Portrait de fisharebest
  • Hors Ligne
  • Administrateur
  • Administrateur
  • Messages : 14715
Just add two names. One in Kanji and one in Romanji.

(Menu, edit, add a new name)

webtrees will show the first name that is written in the same script as the page language.

So, if you view the site in Japanese, it will show the Kanji names, and if you view the site in English (or any other latin language), it will show the Romanji names.
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net

Connexion ou Créer un compte pour participer à la conversation.

Allowing for both Kanji and Romaji il y a 1 an 10 mois #3

  • fisharebest
  • Portrait de fisharebest
  • Hors Ligne
  • Administrateur
  • Administrateur
  • Messages : 14715
BTW - the Japanese translation for webtrees is only 5% complete.

If you (or your wife) would like to contribute to this, you can do so here.

weblate.iet.open.ac.uk/projects/webtrees/webtrees/ja

Any translations you add will be included in the next release
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net

Connexion ou Créer un compte pour participer à la conversation.

Allowing for both Kanji and Romaji il y a 1 an 10 mois #4

  • toast
  • Portrait de toast Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
  • Messages : 4
Thank you! That works a charm! One thing though; in the Branches area, would it be a big change for me to get it to list both the kanji and Romanised names?

Also about translation, sure! I will try to where I can :)

Connexion ou Créer un compte pour participer à la conversation.

Allowing for both Kanji and Romaji il y a 1 an 10 mois #5

  • fisharebest
  • Portrait de fisharebest
  • Hors Ligne
  • Administrateur
  • Administrateur
  • Messages : 14715
Another option is to enable "ROMN" (Romanised) as an "advanced name field" in the family tree preferences.

(If you do this, then you should avoid using the "Married name" or "Also known as" fields - as these are non-standard and don't support romanised versions. Instead, you should add a new name with type=married or type=aka)

This has the advantage of linking the two versions of the name together. It is a more "technically correct" approach, but it makes the input form a little more complicated.
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net

Connexion ou Créer un compte pour participer à la conversation.

Allowing for both Kanji and Romaji il y a 1 an 10 mois #6

  • fisharebest
  • Portrait de fisharebest
  • Hors Ligne
  • Administrateur
  • Administrateur
  • Messages : 14715
> would it be a big change for me to get it to list both the kanji and Romanised names?

A bigger change than you might think.

As well as matching the name/page scripts, we also exclude certain types of name (e.g. married).
But if there are only married names, then we have to use them.
What if there are names in 3 or more different scripts? Showing them all might break the layout.

If you are a PHP coder, I can point you in the right direction...
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net

Connexion ou Créer un compte pour participer à la conversation.

  • Page :
  • 1
Propulsé par Kunena