Jump to content
thirty bees forum
  • 0

Cambiar texto del modulo 'What Others Love Most' (Change text of the 'What Others Love Most' module)


joaquin.morales

Question

Hola a todos.

Necesito cambiar el texto del módulo What Others Love Most     del tema por defecto o comunitario, pero no puedo encontrar el archivo que contiene este texto.

Alguien me podría ayudar por favor?, gracias

Hello everybody.

I need to change the text of the What Others Love Most module from the default or community theme, but I can't find the file that contains this text.

Could someone help me please? Thank you

Edited by joaquin.morales
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Please excuse english!
Method 1 : changes here survive updates
back office > localisation > translations > installed modules translations + theme name + language name > modify > expand all fields > control +F: search for love

Method 2
/themes/community-theme/modules/blockbestsellers/blockbestsellers.tpl/
about line 23 - you can google it on Github

You'd have to change the name of the module if you want a change there to survive updates automatically, or over-ride somehow.

Good to check the name of the theme you are using, as there are two installed by default.

 

Método 1: los cambios aquí sobreviven a las actualizaciones
back office > localización > traducciones > módulos instalados traducciones + nombre del tema + nombre del idioma > modificar > expandir todos los campos > control +F: buscar amor

Método 2
/themes/community-theme/modules/blockbestsellers/blockbestsellers.tpl/
acerca de la línea 23 - se puede buscar en Google en Github

Tendría que cambiar el nombre del módulo o averiguar cómo sobre-montar el archivo si desea un cambio allí para sobrevivir a las actualizaciones automáticamente

Es bueno comprobar el nombre del tema que está utilizando, ya que hay dos instalados de forma predeterminada.

Edited by veganline
Link to comment
Share on other sites

  • 0
On 5/12/2021 at 3:50 PM, joaquin.morales said:

Hola a todos.

Necesito cambiar el texto del módulo What Others Love Most     del tema por defecto o comunitario, pero no puedo encontrar el archivo que contiene este texto.Alguien me podría ayudar por favor?, gracias

Hola! Sí, h ay un par de cadenas que vienen hardcodeadas y no se pueden editar desde las traducciones, en este caso la palabra 'most'. En tu caso es el módulo blockbestselers (themes/niara/modules/blockbestsellers/blockbestsellers.tpl). Fijate que estoy editando el tema niara, si usás el otro template que viene instalado se llama community-theme-default)

yo edité para que quede así:

    <h2><span class="tm-over">{l s='What others' mod='blockbestsellers'} <span>{l s='love' mod='blockbestsellers'}</span> {l s='most' mod='blockbestsellers'}</span></h2>

Entonces sí van a aparecer las tres cadenas, 'what others', 'love', y 'most' para traducir cuando vas a traducción de módulos.

Saludos!

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...