Ir al contenido Ir a la barra lateral
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Zona horaria del soporte: Asia/Karachi (GMT+05:00)

Este tema contiene 0 respuesta, tiene 1 voz.

Última actualización por edwinc-12 hace 2 meses, 4 semanas.

Asistido por: Waqas Bin Hasan.

Autor Publicaciones
Abril 22, 2025 a las 10:49 am #16954589

edwinc-12

Background of the issue:
I am trying to ensure that when I hover over 'all' and a category, the subcategories display in English. The issue can be seen on this page: enlace oculto

Symptoms:
When I hover over 'all' and a category, the subcategories still show in Arabic instead of English.

Questions:
Why are the subcategories still showing in Arabic when they should be in English?
How can I fix the language display issue for subcategories on hover?
async function fetchSubcategories(categoryId, signal) {
if (subcategoriesCache[categoryId]) {
return subcategoriesCache[categoryId];
}
try {
const response = await fetch(`enlace oculto{categoryId}&per_page=20&consumer_key=...&consumer_secret=...`, { signal });

if (!response.ok) throw new Error('Network response was not ok');
const data = await response.json();
// console.log('Subcategories Data for ID', categoryId, ':', data); // Log the actual data

subcategoriesCache[categoryId] = data;
return data;
} catch (error) {
if (error.name === 'AbortError') {
console.log('Fetch aborted');
} else {
console.error('Error fetching subcategories:', error);
}
return [];
}
}

El tema “[Cerrado] subcategories is not showing as should be” está cerrado a nuevas respuestas.