Jump to content

[Resolved] Swedish Language Pack issue - Change/Delete text in "Sale"


HC Design

Recommended Posts

Welcome to the Forums, @HC Design! Look in the Admin>Store Settings>Features tab and see if you have Sales Mode set to Disabled.

Assuming you DO want the Sales category, see what you have in the skin template box.sale_items.php. It should be {$LANG.catalogue.title_saleitems}. Assuming it is, then go to the Language definitions file and see what is written there for catalogue.title_saleitems.

The other place to look would be to look in Admin>Settings>Languages>Your own flag>Catalogue phrases> near the bottom you will find what you have in title_saleitems.

Link to comment
Share on other sites

ISO-639 codes make it easy to reference a language without having to explicitly name the language (which would be written differently depending who was doing the writing).

So, accordingly, "sv" is the main language code. CubeCart uses this to keep track of the language packs. A language pack named "sv-SV" would be mainland Sweden, while "sv-FI" would be a language pack specific to Finnish who speak Sweden. (Just like "en-US" is for United States people who speak a variant of English).

Searching through the language pack, I find:

Line 212: string: all_sale_items = Alla REA underkläder

Line 441: string: title_sale_items = REA UNDERKLÄDER

Also finding line 450, 1250, and 1252

What would a good word be for "Sales"?

Link to comment
Share on other sites

Oh sorry, it's middle of the night so I missed that...

Realisation is Rea but short ;)

Utförsäljning is like Rea :)

1 minute ago, Dirty Butter said:

I don't use the Sale side bar box, but when I did show Sales Items I called it Featured Sale Item, since it's random.

I don't need that box, how do I delete it?

Link to comment
Share on other sites

Also, line 406. The phrase will not have the context of being on sale (discounted). This phrase for "title_feature" will be a phrase used for an item making a special appearance or maybe a limited time availability. In reality, CubeCart just grabs a random product from the entire inventory and shows it. But we can adjust the query to give us what we want.

Link to comment
Share on other sites

  • 1 month later...
On 2016-09-26 at 1:19 AM, bsmither said:

Be sure to find and edit all five locations I mentioned earlier.

Then, in admin, Maintenance, Rebuild tab, check the "Clear language cache" and Submit.

Hi again!

I did all that and after I clicked "Submit" my store disapeared :(

I changed it back in the file with swedish but I think the clearing of cache messed it up somehow...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...