Viewing 10 posts - 11 through 20 (of 25 total)
Author
Posts
  • #9464

    You are welcome to look at php7.2 installation if you want to. I can also make some test for you.

    Thanks, but it will be 6 months I expect before I’m ready to look at 7.2.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #9465

    I made the changes in my userdefined language file

    Are you aware that these language files are no longer required (in most cases)? You can use Administration > Site administration > Custom translation. This stores the translations in the database and avoids any complications with extra files.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #9468

    I made the changes in my userdefined language file

    Are you aware that these language files are no longer required (in most cases)? You can use <em class=”gdbbx-bbcode-italic”><strong class=”gdbbx-bbcode-bold”>Administration > Site administration > Custom translation. This stores the translations in the database and avoids any complications with extra files.

    I know thank you. But it does not work at my “pages” titles which is not core titles. Might be to complex: https://www.jaconelli.dk/webtrees/module.php?mod=pages&mod_action=show&pages_id=241&lang=en_US and I can not use both

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

  • #9469

    You do not need to use translation files for “pages”. Just created two copies of each “page” – one for only Danish, and one for only US American. The titles and the content can be correct for each language then.

    Why do you say “I can not use both”? I do not understand what problem that can be.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #9470

    BTW out of record. Can you give me a hint how to use the background-image: url(../images/sprites-top-menu.png)
    EX: I would use the menu-chart sub chart familybook in my userdefined menu instead of making an icon each time I want to have a userdefined menu

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

  • #9471

    You do not need to use translation files for “pages”. Just created two copies of each “page” – one for only Danish, and one for only US American. The titles and the content can be correct for each language then.

    Why do you say “I can not use both”? I do not understand what problem that can be.

    I can not use language file and userdefined translation and I did try long time ago to use this module.
    (the file is enclosed and you can see how complex I have made it)

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

  • #9473

    I can not use language file and userdefined translation and I did try long time ago to use this module.

    OK, I thought you were talking about something else. But, there is no reason I know that using both will not work. You just need to remember that the admin option is used after the php language file, so if the same translation is in both only the admin version will be used. Best to take them out of the php as you create them in admin.

    But either can be used, so if you are happier with the file, that is fine – your choice 🙂 But there is nothing “complicated” about your file. It is large, but that is not a major issue once created.

    But for pages, gallery, and menus I still think the best answer is to create two versions of each item (in the same module), one in Danish and one in American. Then there is no further translation required, and your Google translate on those pages will no longer be needed. But again, your choice. Perhaps I could change one of your “pages” as an example for you?

    Nigel
    My personal kiwitrees site is www.our-families.info
    1 user thanked author for this post.
  • #9474

    One other question – in your user-defined language file, what is the purpose of the “$normalizeChars” code? How is that used? It’s not a variable that exists anywhere in the kiwitrees code.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #9475

    One other question – in your user-defined language file, what is the purpose of the “$normalizeChars” code? How is that used? It’s not a variable that exists anywhere in the kiwitrees code.

    True – but earlier in pgv I had to use it – so it just surviewed through the years 😛

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

  • #9476

    BTW out of record. Can you give me a hint how to use the background-image: url(../images/sprites-top-menu.png)
    EX: I would use the menu-chart sub chart familybook in my userdefined menu instead of making an icon each time I want to have a userdefined menu

    You need to use the same css as the menu-chart sub chart familybook uses. I think for colors it is on line 164 of colors.css:

    #menu-chart-familybook      {background-position:left -104px;}

    Just change #menu-chart-familybook to the id your custom sub-menu uses.Note also that there is a normal and RTL language version. You might not need the RTL version as your site does not allow for any of those languages.
    The “background-position” reference tells the css where in the sprite image that icon can be found (104px from the left

    Nigel
    My personal kiwitrees site is www.our-families.info
    1 user thanked author for this post.
Viewing 10 posts - 11 through 20 (of 25 total)
  • The topic ‘Session handler’ is closed to new replies.