?
avatar Kostelano
Kostelano
4 Jun 2021

Steps to reproduce the issue

In 4.0 Beta 7, alternate layouts + corresponding language constants were added (#33978).

In file SITE/language/en-GB/mod_menu.sys.ini:

MOD_MENU_LAYOUT_COLLAPSE-DEFAULT="Collapsible Default Menu"

In file SITE/language/en-GB/tpl_cassiopeia.sys.ini:

TPL_CASSIOPEIA_MOD_MENU_LAYOUT_COLLAPSE-METISMENU="Collapsible Dropdown"
TPL_CASSIOPEIA_MOD_MENU_LAYOUT_DROPDOWN-METISMENU="Dropdown"

The fact is that the translation of 2 lines from file tpl_cassiopeia.sys.ini is not pulled up. Something is wrong. I didn't understand why, I just report it.

Screenshot_1

avatar Kostelano Kostelano - open - 4 Jun 2021
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jun 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Jun 2021
avatar brianteeman
brianteeman - comment - 4 Jun 2021

To be 100% certain can you please confirm that yourlanguage/tpl_cassiopeia.sys.ini contains those two lines and translated to your language

avatar Kostelano
Kostelano - comment - 4 Jun 2021

Of course. These constants are.

avatar chmst
chmst - comment - 4 Jun 2021

@Kostelano I just has a similiar issue - the problem was that somewhere in the language file (not in the non-translated strings) an error occurred. In my case it was a "." after another language string, which blocked the loading of the following translations.

Could you please check your language files if there are somewhere two "" or unexpected spaces or corrupt lines?
Or post the lanuage file here

avatar Kostelano
Kostelano - comment - 4 Jun 2021

There is no problem in the localization file.

I just copied the en-GB file into the ru-RU directory, renaming the strings like this:

TPL_CASSIOPEIA_MOD_MENU_LAYOUT_COLLAPSE-METISMENU="Collapsible Dropdown444"
TPL_CASSIOPEIA_MOD_MENU_LAYOUT_DROPDOWN-METISMENU="Dropdown4444"

Everything is the same, line feed is NOT pulling up.

avatar Kostelano Kostelano - change - 4 Jun 2021
Title
[4.0] Translation doesn't work for layouts [mod_menu.sys, tpl_cassiopeia.sys]
[4.0] Translation doesn't work for layouts [tpl_cassiopeia.sys]
avatar Kostelano Kostelano - edited - 4 Jun 2021
avatar Kostelano
Kostelano - comment - 4 Jun 2021

Collected the package. Please test it yourself. Thank you.

ru-RU_joomla_lang_full_4rc1.1-a.zip
https://drive.google.com/file/d/1MSf7Mi9GIOJH0gd_x6f7UIZ90F5zMtpx

avatar brianteeman
brianteeman - comment - 4 Jun 2021

please test #34409
image

avatar brianteeman
brianteeman - comment - 4 Jun 2021

@chmst thanks for the tip

avatar Kostelano Kostelano - change - 4 Jun 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-06-04 21:24:43
Closed_By Kostelano
avatar Kostelano Kostelano - close - 4 Jun 2021

Add a Comment

Login with GitHub to post a comment