News:

Support the VirtueMart project and become a member

Main Menu

Category in just one language

Started by MarioP, January 14, 2016, 08:36:07 AM

Previous topic - Next topic

MarioP

Hi there
I'm looking for the possibility to create a category which would be displayed just in one language - I don't want it to be shown in the second one. The problem is that even though I create a category and save it just in the primary language it's appearing in the second language too. Is there a way to change that? I've been looking for any entries in the database responsible for that, but nothing....
I see no issue for products - I can show them in just one language, so why isn't the same for categories?

jjk

I thought about your problem for a while, but unfortunately no good idea came into my mind.  :-[
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

GSC

Any further ideas on this ? I am trying to accomplish the same. Thanks.

GSC


GJC Web Design

It could be done by just hiding with css certain catids when lang is X

this would obviously only work on the FE display.. if the user changed langs while on a cat then you could have a hidden div which displays a message if catid == x && lang==x and hide the content

This could all be done in the FE templates
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation