Thanks for the response, I actually took the easy path myself.
Edit: includes/index_filters/default_filter.php
Add the following code to all listing queues
Code:
and pd.products_name != ''
and pd.products_description IS NOT NULL
and pd.products_description != ''
The logic behind it: English user enters the website, only articles with value in name and description get shown.
Downsides:
1. It affects both languages, but the main language uses name / description.
2. Articles can still be accessed through direct link and they will remain untranslated. - which can be fixed by putting "Not available in English." in the description and then adding this exception to the query above.
3. I have "top articles" as in Top 1 and Top 2/3 and articles appear regardless of the query above => either more editting or just translate them always.
4. Simple and practicle, but not sure if it can't brake anything. Testing it currently.
- Feel free to suggest ideas or mention more possible outcomes I didn't take in account.
Bookmarks