Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Apr 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: Trouble finding some text which need translation

    Ok, thank you. The only thing is that my language is named 'Norsk', as has been the case in every earlier version of ZC. Should I call it 'Norwegian' instead. Folder is correct.

  2. #12
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,616
    Plugin Contributions
    19

    Default Re: Trouble finding some text which need translation

    If you edit that language, you'll see folder name. If the folder name matches your actual folder name on server, then it's correct and is not what's causing your problem.

  3. #13
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,616
    Plugin Contributions
    19

    Default Re: Trouble finding some text which need translation

    Oh, just had an after-coffee thought - why don't you try using Developers Tool Kit and see if you can find
    Code:
    Har du spørsmål om ei bok
    This will show you where the ask_a_question definitions are coming from and where you should add your missing definition (NAVBAR_TITLE).

  4. #14
    Join Date
    Apr 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: Trouble finding some text which need translation

    Hi again
    The text 'Har du spørsmål om ei bok' comes from ...includes/languages/norwegian/html_includes/define_ask_a_question.php
    The only content of that file is this: <p>Har du spørsmål om ei bok? Me hjelper deg gjerne.</p>
    I see that I have put this text from admin via Tools -->Informations pages
    Maybe I should delete this file?
    Geir

  5. #15
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,616
    Plugin Contributions
    19

    Default Re: Trouble finding some text which need translation

    Argh, I forgot about the defined page...

    Try searching for
    Code:
    Spørsmål
    This is normally a line like
    Code:
    define('ENTRY_ENQUIRY', 'Message:');
    and is only found in contact_us.php and ask_a_question.php
    You can also try searching for Spørjeskjema - it's a title that should be unique to the ask_a_question page.

  6. #16
    Join Date
    Apr 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: Trouble finding some text which need translation

    In my version it is -
    Code:
    define('ENTRY_ENQUIRY', 'Message:');
    - and it shows up in ......includes/languages/norwegian/ask_a_question.php
    'Spørjeskjema' show up in .....includes/templates/template_default/templates/tpl_ask_a_question_default.php
    What do you get of this?

  7. #17
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,616
    Plugin Contributions
    19

    Default Re: Trouble finding some text which need translation

    Quote Originally Posted by Ormhaugen View Post
    In my version it is -
    Code:
    define('ENTRY_ENQUIRY', 'Message:');
    - and it shows up in ......includes/languages/norwegian/ask_a_question.php
    'Spørjeskjema' show up in .....includes/templates/template_default/templates/tpl_ask_a_question_default.php
    What do you get of this?
    So, Spørjeskjema is hard-coded into the template file instead of using a language file. Probably the other ones as well... I honestly can't think of anything else other than to double-check everything to make sure the language is correctly configured and being used.

  8. #18
    Join Date
    Apr 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: Trouble finding some text which need translation

    I have now checked out everything and have managed to sort all four problems I first reported.
    What I found was that I had to republish some define? files from my original ZC download. F.ex. a reload of ...includes\modules\pages\ask_a_question\header_php.php changed NAVBAR_TITLE to 'Still eit spørsmål' as I wanted in the breadcrumb line. So it was not language specific files that caused trouble.
    But thank you so much balihr(?) for pointing me in the right direction and helping me sorting these problems.
    Geir

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Need help finding text
    By kobra in forum General Questions
    Replies: 16
    Last Post: 21 May 2013, 02:10 PM
  2. Need help finding linked text
    By GRH1 in forum General Questions
    Replies: 1
    Last Post: 8 Nov 2009, 01:53 PM
  3. Trouble finding the includes/ folder...
    By brownberry in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Apr 2009, 03:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR