M markel Chevereto Member Jan 16, 2020 #1 Hi guys, there is nothing about the changes in the documentation, so I am asking you for help, maybe someone will know how to change the title and description for each language?
Hi guys, there is nothing about the changes in the documentation, so I am asking you for help, maybe someone will know how to change the title and description for each language?
Rodolfo 👑 Chevereto Godlike Chevereto Staff Administrator Jan 16, 2020 #2 Can you indicate which "title" and which "description"? There are plenty stuff named as these in the software.
Can you indicate which "title" and which "description"? There are plenty stuff named as these in the software.
M markel Chevereto Member Jan 17, 2020 #3 Website name Website doctitle Website description I want to change them for each language, how to do it?
Website name Website doctitle Website description I want to change them for each language, how to do it?
Rodolfo 👑 Chevereto Godlike Chevereto Staff Administrator Jan 17, 2020 #4 Sure, the documentation: https://chevereto.com/docs/language-strings
M markel Chevereto Member Jan 18, 2020 #5 in these files there are no lines with the site name and description.
Rodolfo 👑 Chevereto Godlike Chevereto Staff Administrator Jan 18, 2020 #6 markel said: in these files there are no lines with the site name and description. Click to expand... Because you need to add these strings, and use the _s() functions to output the translated strings.
markel said: in these files there are no lines with the site name and description. Click to expand... Because you need to add these strings, and use the _s() functions to output the translated strings.
M markel Chevereto Member Jan 19, 2020 #7 there is nothing about parameter _s() in your documentation could you give an example of how this is done
there is nothing about parameter _s() in your documentation could you give an example of how this is done
Rodolfo 👑 Chevereto Godlike Chevereto Staff Administrator Jan 19, 2020 #8 There are a couple functions used when retireiving strings from a translation. The functions are here: https://github.com/Chevereto/Chevereto-Free/blob/master/app/lib/l10n.php The usage is very simple: Code: echo _s('The string'); Will echo the translation (if any) for that string.
There are a couple functions used when retireiving strings from a translation. The functions are here: https://github.com/Chevereto/Chevereto-Free/blob/master/app/lib/l10n.php The usage is very simple: Code: echo _s('The string'); Will echo the translation (if any) for that string.