Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Customize The Appearance Depend On Language.

 

Posted 11 April 2015 - 10:10 AM #1

How can I change the layout appearance depend on the language selection, English the apearnce dirction will be from left to right, Arabic from right to lift , Etc ...

 
  • antev
  • Architect
  • Twigmo team
  • Join Date: 07-Oct 10
  • 110 posts

Posted 13 April 2015 - 09:48 AM #2

Hello,

At the moment Twigmo does not support RTL appearance. We are going to add this feature in the next version of the Twigmo add-on.

However, you can modify CSS in Visual Editor to make RTL appearance by yourself. The code below adds the "rtl" class to the body element for the Arabic language. Add this code to the "Custom JavaScript" section in the Twigmo Visual Editor. After that you have to write CSS styles in the "Custom CSS" section that add RTL appearance when the "rtl" class exists.

twg.initSettings = twg.func.wrap(twg.initSettings, function(srcFunc) {
  srcFunc();
  if (settings.cart_language.toLowerCase() == 'ar') {
	document.getElementsByTagName('body')[0].className += ' rtl';
  }
});

Evgeniy Antonov,
Twigmo team

 
  • tom437
  • Senior Member
  • Members
  • Join Date: 10-Jul 10
  • 635 posts

Posted 15 April 2015 - 03:13 PM #3

Hello,

At the moment Twigmo does not support RTL appearance. We are going to add this feature in the next version of the Twigmo add-on.

However, you can modify CSS in Visual Editor to make RTL appearance by yourself. The code below adds the "rtl" class to the body element for the Arabic language. Add this code to the "Custom JavaScript" section in the Twigmo Visual Editor. After that you have to write CSS styles in the "Custom CSS" section that add RTL appearance when the "rtl" class exists.

twg.initSettings = twg.func.wrap(twg.initSettings, function(srcFunc) {
  srcFunc();
  if (settings.cart_language.toLowerCase() == 'ar') {
	document.getElementsByTagName('body')[0].className += ' rtl';
  }
});


Hello,

How can I get my banner from my home page show on twigmo home page/
How do I remove the Powered by Twigmo?


Thank you
Tom
3.0.4
Hosting for less.
www.step2stephosting.com

 
  • antev
  • Architect
  • Twigmo team
  • Join Date: 07-Oct 10
  • 110 posts

Posted 17 April 2015 - 12:57 PM #4

Hello, Tom.

How can I get my banner from my home page show on twigmo home page/


You can edit blocks of the "Twigmo home page" location on the Design > Layouts page. Please make sure that "Twigmo home page blocks" option is selected for the "Home page content" setting on the "Mobile storefront" tab of the Twigmo control panel.

How do I remove the Powered by Twigmo?


To remove the copyright you can switch to the Plus plan ( http://www.twigmo.com/pricing/ ) that does not include Twigmo copyright.

Hope this will help you.
Evgeniy Antonov,
Twigmo team

 
  • tom437
  • Senior Member
  • Members
  • Join Date: 10-Jul 10
  • 635 posts

Posted 18 April 2015 - 03:23 PM #5

Thank you
3.0.4
Hosting for less.
www.step2stephosting.com

 
  • newertebat
  • Advanced Member
  • Members
  • Join Date: 05-Jan 13
  • 82 posts

Posted 04 September 2015 - 02:36 PM #6

hello

i use TWIGMO for my CS-cart store

very good addon 

but i can not change some words from English to another language

(my store have 2 language)

 

how to translate some pattern like the below words  : 

 

This product can be purchased via ...

share

Share on social networks:

Desktop site

out of stock

Loading...

Visit Our Mobile Site

 

 

regards