This Help forum is for issues relates to the latest release (1.7.7). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."
  • Page:
  • 1

TOPIC:

Customizing the footer 4 years 7 months ago #1

  • nicolefrancois
  • nicolefrancois's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 24
Hello,
I do not know mucj the PHP language but just enough to change my logos and other little tricks.

I want to change the sentence in the footer "For technical support or genealogy issues contact". and I'm looking into what the document is it.

Someone could please me the indicate?

Thank you

apologize for my poor english

Please Log in or Create an account to join the conversation.

Customizing the footer 4 years 7 months ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
You can modify all the text using a "custom translation" file.

wiki.webtrees.net/en/Custom_Translation
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Customizing the footer 4 years 7 months ago #3

  • nicolefrancois
  • nicolefrancois's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 24
Thanks,

I don't want to translate the sentence I want to completely change the sentence. So i got to find the right document.

Please Log in or Create an account to join the conversation.

Customizing the footer 4 years 7 months ago #4

  • norwegian_sardines
  • norwegian_sardines's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 1993
Translations are not just for display language but also for word/sentence changes as well.
Ken

Please Log in or Create an account to join the conversation.

Customizing the footer 4 years 7 months ago #5

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
  • Posts: 2275
A bit more concrete, if you want a different text in French, you can create a folder language in your webtrees/data folder.
Put there a text file named fr.csv (or fr-CA.csv if your target audience is Canadian) with content like this for example:
"For technical support or genealogy questions contact %s.";"Pour toute question technique contacter %s."
"For help with genealogy questions contact %s.";"Pour toute question sur la généalogie contacter %s."
"For technical support and information contact %s.";"Pour le support technique contacter %s."
Note that the version in French may be completely different, it will be shown in place of the original translation.
Also note that the "%s" placeholder for the actual contact details may be omitted.

These are the three literal sentences where the word "contact" is used, and that appear in page footers.
You should do the same for other languages you want to support, eg create files en-GB.csv, en-US.csv
stamboom.BertKoor.nl runs on webtrees v1.7.13

Please Log in or Create an account to join the conversation.

Last edit: by bertkoor.

Customizing the footer 4 years 7 months ago #6

  • nicolefrancois
  • nicolefrancois's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 24
Ok thanks !!!

I going to try these solutions !!!

Please Log in or Create an account to join the conversation.

Customizing the footer 4 years 7 months ago #7

  • nicolefrancois
  • nicolefrancois's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 24
I found a "FR-ca.MO" file ... this is the file I need ?

And How do we open this file . I already try "PO editor" and "better PO editor" and they don't open it.

Thanks

Please Log in or Create an account to join the conversation.

Customizing the footer 4 years 7 months ago #8

  • ToyGuy
  • ToyGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
  • Posts: 4925
NO. Don't modify the main language files. Simply ADD a new custom language file. There is an adequate description of how to do this in the WIKI.

wiki.webtrees.net/en/Custom_Translation
Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com , a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28

Please Log in or Create an account to join the conversation.

Last edit: by ToyGuy.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Customizing the footer 4 years 7 months ago #9

  • nicolefrancois
  • nicolefrancois's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 24
OK I open it ! thanks

Please Log in or Create an account to join the conversation.

Customizing the footer 4 years 7 months ago #10

  • nicolefrancois
  • nicolefrancois's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 24
Oh ok :p

Please Log in or Create an account to join the conversation.

Customizing the footer 4 years 7 months ago #11

  • nicolefrancois
  • nicolefrancois's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 24
It's working !!

Thanks !

Please Log in or Create an account to join the conversation.

[SOLVED] Customizing the footer 4 years 7 months ago #12

  • nicolefrancois
  • nicolefrancois's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 24
Problem solved.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum