Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    32
    Plugin Contributions
    0

    Default Trouble finding some text which need translation

    I have upgraded from 1.55e to 1.57d. The shop is working OK, but there are some text elements I would like to translate into norwegian.
    But I can't find the files where these elements are, have been trying all variants of search with developer tool. So far - no.
    One element shows up in the email I get when a new order is placed (email_order).
    Another one shows up if I ask a question (ask_a_question).
    And a third is in Admin when looking for customers (customerlist).
    Where do I find the files holding those "ghost" text elements?

    Geir

    ZC 1.57d
    PHP 7.4.29
    https://osteroy-sogelag.org/butikk157d
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	ask_a_question.jpg 
Views:	36 
Size:	4.2 KB 
ID:	19980   Click image for larger version. 

Name:	customerlist.jpg 
Views:	37 
Size:	28.0 KB 
ID:	19981  
    Attached Images Attached Images  

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,623
    Plugin Contributions
    123

    Default Re: Trouble finding some text which need translation

    Instead of using images, please just enter the define for the string you need (e.g. EMAIL_TEXT_TELEPHONE for the first one).
    Then I'll tell you where to find them in 1.5.7.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Apr 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: Trouble finding some text which need translation

    Ok, here they come:
    EMAIL_TEXT_TELEPHONE
    NAVBAR_TITLE
    SEARCH_DEFAULT_TEXT
    TEXT_INFO_ADDRESS_BOOK_COUNT_SINGLE
    Very glad if you will tell me where to find the define for those strings.
    Geir

  4. #4
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,541
    Plugin Contributions
    19

    Default Re: Trouble finding some text which need translation

    Quote Originally Posted by Ormhaugen View Post
    EMAIL_TEXT_TELEPHONE
    includes/languages/YOUR_LANGUAGE/email_extras.php
    OR
    includes/languages/YOUR_LANGUAGE/YOUR_TEMPLATE/email_extras.php

    NAVBAR_TITLE
    Assuming this is from "ask a question":
    includes/languages/YOUR_LANGUAGE/ask_a_question.php
    OR
    includes/languages/YOUR_LANGUAGE/YOUR_TEMPLATE/ask_a_question.php

    SEARCH_DEFAULT_TEXT
    This is not supposed to be in 1.5.7d customers... Probably somewhere else?

    TEXT_INFO_ADDRESS_BOOK_COUNT_SINGLE
    YOUR_ADMIN/includes/languages/YOUR_LANGUAGE/customers.php

    I'm assuming you're using a Norwegian language pack that hasn't been updated for 1.5.7 so it's missing some definitions, meaning you'll have to add it manually.

  5. #5
    Join Date
    Apr 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: Trouble finding some text which need translation

    Quote Originally Posted by balihr View Post
    includes/languages/YOUR_LANGUAGE/email_extras.php
    OR
    includes/languages/YOUR_LANGUAGE/YOUR_TEMPLATE/email_extras.php
    - I was a bit unprecise in my posting. The expression 'EMAIL_TEXT_TELEPHONE' show up together with the delivering address for a customer, both in email to the customer and in email to admin. Sorry.
    - I have compared my email_extras.php with the English version, and found that "define('EMAIL_TEXT_TELEPHONE', 'Telephone: ');" was missing in my Norwegian translation. But in spite putting this line into my Norwegian file, I still get this expression in the customer email. Have cleaned cache, tried another browser. Still the same

    Assuming this is from "ask a question":
    includes/languages/YOUR_LANGUAGE/ask_a_question.php
    OR
    includes/languages/YOUR_LANGUAGE/YOUR_TEMPLATE/ask_a_question.php
    - Compared the eng/norw files, but can't find anything that changes the text from english to norwegian. Anything else?

    This is not supposed to be in 1.5.7d customers... Probably somewhere else?
    - I find text in several English files, all seems to be translated into Norwegian. So what?


    YOUR_ADMIN/includes/languages/YOUR_LANGUAGE/customers.php

    I'm assuming you're using a Norwegian language pack that hasn't been updated for 1.5.7 so it's missing some definitions, meaning you'll have to add it manually.
    - Correct, my Norwegian language pack was for 1.55e. And there were some files missing. I have copied them over, but still get the same. Cleaned cache, tried another browser.
    Any help would be appreciated.
    geir

  6. #6
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,541
    Plugin Contributions
    19

    Default Re: Trouble finding some text which need translation

    OK, so, your admin is using Norwegian. Can you copy/paste the contents of your YOUR_ADMIN/includes/languages/norwegian/customers.php file here? Just remember to wrap it with the code tags.
    You can do the same for the other files I listed above.

 

 

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