Skip to main content

Language file wrap

13 years 6 months ago #101338 by drchamp8756
I have this setting in my language file:
HIKASHOP_FINAL_TOTAL="Final Total (PA Residents will be charged 6% sales tax)"

However, because the (PA Residents will be charged 6% sales tax) does not wrap, the text covers up the final price.

Go here and click to add a product and you will see the issue.
mvs005-002.directrouter.com/~nighteye/checkout2/product/listing

Can I make a longer language file setting text wrap some way?

Thanks.

Please Log in or Create an account to join the conversation.

13 years 6 months ago #101392 by Mohamed Thelji
Replied by Mohamed Thelji on topic Language file wrap
Hi,

I think that the solution would be to put a line feed through your language file, like this for example :
Code:
HIKASHOP_FINAL_TOTAL="Final Total \n (PA Residents will be charged 6% sales tax)"
Or to use some CSS code.

Hope this will help you a little.

Please Log in or Create an account to join the conversation.

13 years 6 months ago #101878 by drchamp8756
Replied by drchamp8756 on topic Language file wrap
Thanks for the suggestion. \n did not work. I also tried \br. No luck. I'll just live with out that. Its OK.

Please Log in or Create an account to join the conversation.

13 years 6 months ago - 13 years 6 months ago #101934 by Mohamed Thelji
Replied by Mohamed Thelji on topic Language file wrap
That's strange, I tried it and it seems to be working fine with my translation file.
Last edit: 13 years 6 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

13 years 6 months ago #101986 by drchamp8756
Replied by drchamp8756 on topic Language file wrap
Here is mine.

Please Log in or Create an account to join the conversation.

13 years 6 months ago #101992 by nicolas
Replied by nicolas on topic Language file wrap
You need to use <br/> instead of \n

Please Log in or Create an account to join the conversation.

13 years 6 months ago #102010 by drchamp8756
Replied by drchamp8756 on topic Language file wrap
Got it. Thanks.

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum