Search
Forums
Kiwitrees on Twitter
    Tags

    GDBR, family facts, CHR, living, image, MAC, advent, autocomplete, bug reporting, ASSO, descendants, watermark, edit, spouse, webtrees 1.4.4.1, html, Themes change, default individual, Favourites, individual resource, flags, family fact, translation, dropbox. token, inactive, media_links, burial, support, 7.2, places, BURI, title, special character, performance, new feature, statistics, simpl_pages, clipboard, prefix, redirect, I18N, name, themes, follow, 3.2.0, wish, emmigration, sanity checker, drag, ID facts, googlemap. modified, partner, chart, FAQ, getClientIp, message contactform, php 5.6, lists, sidebar, events of close relatives

    Topic:   Session handler  

    This topic contains 24 replies, has 2 voices, and was last updated by  jacoline 1 year ago.

    Viewing 10 posts - 16 through 25 (of 25 total)
    • Author
      Posts
    • #9471

      jacoline
      Participant

      466 posts

      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:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

      #9473
      kiwi
      kiwi
      Keymaster

      1656 posts

      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
      kiwi
      kiwi
      Keymaster

      1656 posts

      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

      jacoline
      Participant

      466 posts

      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:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

      #9476
      kiwi
      kiwi
      Keymaster

      1656 posts

      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.
      #9477
      kiwi
      kiwi
      Keymaster

      1656 posts

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

      OK. But you can remove it now 🙂

      Nigel
      My personal kiwitrees site is www.our-families.info
      #9478
      kiwi
      kiwi
      Keymaster

      1656 posts

      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?

      Hopefully, when you “thanked” me for that post you meant that I should create the example 🙂 Anyway, I have done that. I used a small one: “Why the best man?”.

      If you visit the “Historic blogs” page, select “Why the best man?” and switch between the two languages. You will see a complete translation for each. (Note – I only used google for the initial translation. The words are not perfect, but much the same as your google translate code would give).
      Now if you visit the admin page for the pages module, you will see there are two “pages” for this item, one in Danish, one in English. If you do the same for the other pages (lots of copy/paste, and some help from google required) then the only user-defined translation you will need is for the page title “Historic blogs”.

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

      jacoline
      Participant

      466 posts

      I thanked you for the idea. 🙂

      I did earlier have them in each language but deleted the english version. I like when it is not used with “bad english”. If you remember you have given me hint time to time about english terms.

      One thing my english is not perfect but I dislike to show “bad english” at my pages. If I translate it is made in my name. If visitors use the google translate at my page then the visitor know it is “bad english” You are welcome to call me “aunt oddy” alot of people do that 😛

      The second reason is; there is alot of updating everytime I change something. And I got tirred of the “maintaince” in both languages. I could just stay in danish but only 5mill would understand. And I have family abroad (Canada and US) to take care of too 🙂

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

      #9482
      kiwi
      kiwi
      Keymaster

      1656 posts

      You are welcome to call me “aunt oddy” alot of people do that

      No – that’s why we have options. No reason we should all do things in the same way.

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

      jacoline
      Participant

      466 posts

      You are welcome to call me “aunt oddy” alot of people do that

      No – that’s why we have options. No reason we should all do things in the same way.

      The reason I prefer kiwitrees <3

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

    Viewing 10 posts - 16 through 25 (of 25 total)

    You must be logged in to reply to this topic.