Jump to content

VAY

Member
  • Posts

    7
  • Joined

  • Last visited

Posts posted by VAY

  1. Hello Guys!

    I just want change background color of top categiry menu at storefront, I went through both foundation.css and cubecart.css and other files at: skins/foundation/css. I tried to change background color at .top-bar; top-bar category-nav in foundation.css but it seemed it did not change whatever I clear my browsers 's histories and refresh. Am I using the wrong file?

    Please give some suggestions.

    Another point I want suggestions is that I want to change the way storefront Flags (language) from dropdown to make two flags (UK and Lao flags) stands beside, next to each other, showing both flags, rather than clicking.

    Could you guys give some suggestion, what CSS files should I go through, I think it is in cubecart.css as at about line 198:

    span.flag {

    display: inline-block;

    width: 16px;

    height: 11px;

    background: url(../images/sprite_flags.png) no-repeat;

    }

    Do I have to do something with sprite flags images?

    Please suggest me on this?

    You might suggest me at [email protected]

  2. 1 hour ago, bsmither said:

    The way CubeCart is supposed to work is that any language file will overwrite the keys from definitions.xml. This is desirable because as more phrase strings get added to core CubeCart code, all the phrases will always be in definitions.xml. Then, each individual language pack can catch up with its own translated phrases for the new strings -- not leaving anything blank.

    
    Your header block as copied from above:
    <?xml version="1.0" encoding="UTF-8"?>
    <language version="2.0">
     <info>
      <title><![CDATA[ລາວ]]></title>
      <locale>lo</locale>
      <character_set><![CDATA[utf-8]]></character_set>
      <version>1.0.0</version>
      <minVersion>6.0.12</minVersion>
      <maxVersion>5.0.*</maxVersion>
      <parent_language><![CDATA[en-GB]]></parent_language>
      <override_parent>true</override_parent>
     </info>
    </language>
    
    Suggested header block:
    <?xml version="1.0" encoding="UTF-8"?>
    <language version="2.0">
      <info>
        <title><![CDATA[ລາວ]]></title>
        <code>lo-LO</code>
        <character_set>utf-8</character_set>
        <version>1.0.0</version>
        <minVersion>5.0.0a</minVersion>
        <maxVersion>6.0.*</maxVersion>
        <default_currency>LAK</default_currency>
        <text-direction>ltr</text-direction>
        <override></override>
      </info>
      <translation>
        groups and strings
      </translation>
    </language>

    You should use lo-LO.xml and email_lo-LO.xml for the file names (not have LA as that is for Latin, and to do so would mean Latin is a dialect/variant of Laotian).

    If the header block you were given came from CubeCart's Create Language tab, we need to review that.

    The "groups and strings" seen in the suggested header block can be compared to the en-US.xml file. And, you can copy the entirety of <group><string> nodes from definitions.xml, but nothing else.

    Thanks bsmither, it works now when changing from lo-LA.xml to lo-LO.xml, and I can edit text and phrases from ACP now. But, at language directory, I do not have email_lo-LO.xml. Should I copy email_en-GB.xml and rename it? How about the file email_definitions.xml, should I copy it too?

    For text and phrases, do I need to edit every single text and phrases as I need to translate only the ones that are related to storefront and to customers? If I do not translate all, will it affect the Laotian UI at storefront?

    Anyway, thank you for your help on my first ecommerce site using Cubecart. 

  3. Hello bsmither. Thanks for being here around my issue. When click on Edit icon it seems it goes somewhere or where it should go but just staying there at the same page of list of languages (Dashboard >Settings >Languages). When the mouse hovers over the icon, the browser show the same target address as at address bar or address box.
    While at the storefront, clicking and hovering the Lao language flag, the address is "https://eatpro.net/index.php?"

    At the file manager, languages directory, can I just copy en-GB.xml and rename the copied file to lo-LA.xml, and translate the text/phrases in lo-LA.xml?
    Or what am I exposed to do more with tools at ACP: "Merge to file", "Using the Language File" and "Import Language"?

    Please give some suggestions.

  4. 22 minutes ago, Dirty Butter said:

    Welcome to the forums @VAY! Please show what you have as the name of your language file and the code comparable to this top section of the en-US.xml file:

    
    <?xml version="1.0" encoding="UTF-8"?>
    <language version="2.0">
      <info>
        <title>English (US)</title>
        <code>en-US</code>
        <character_set>utf-8</character_set>
        <version>1.0.0</version>
        <minVersion>5.0.0a</minVersion>
        <maxVersion>5.1.*</maxVersion>
        <default_currency>USD</default_currency>
        <text-direction>ltr</text-direction>
        <override></override>
      </info>
      <translation>

     

    Thanks for your time reading through my issue, Dirty Butter . Here are my language file: lo-LA.xml ; and the following code:

    <?xml version="1.0" encoding="UTF-8"?>
    <language version="2.0">
     <info>
      <title><![CDATA[ລາວ]]></title>
      <locale>lo</locale>
      <character_set><![CDATA[utf-8]]></character_set>
      <version>1.0.0</version>
      <minVersion>6.0.12</minVersion>
      <maxVersion>5.0.*</maxVersion>
      <parent_language><![CDATA[en-GB]]></parent_language>
      <override_parent>true</override_parent>
     </info>
    </language>
    
  5. Hello

    I am absolutely new to Cubecart. Strait to my point, I have developed my site in two languages, one is default English and the other is Lao language. as my language is not there available in Marketplace s I have added and edited Lao at Admin ACP, translating phrases, text here. Now I have researched some instructions in this Forum, but I what my search results seem to be vague for me.

    At (test) store front my language flag is there available from Drop-down between English(UK) and Lao. But when clicking it does not change to Lao language. At ACP, one problem I have found is that Lao language from languages list, which I have created and edited cannot be edited when clicked from the list. It should to "Edit Phrases" page so that I can translate text or phrases at "Phrase Group" (I have an attached for this).

    Please suggest me where I should go from now to get my language translated. Please give me suitable suggestion links.    

    Regards

    Vay

    lao.jpg

     

    store-front.jpg

×
×
  • Create New...