Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localisation: translated elements: original element is shown in fe #38

Closed
blueamerican opened this issue Dec 13, 2016 · 9 comments
Closed
Labels

Comments

@blueamerican
Copy link

blueamerican commented Dec 13, 2016

when translating a content element created with a mask_export element, in the first language not the translated element is shown in fe, but the original element.

The element has only one repeatable element with three elements included.

in the backend everything seems to be ok.

if i reproduce this with the original mask extension it works.

version 0.4.2

@IchHabRecht
Copy link
Owner

Hi Markus,

I can't verify your problem in my demo installation and need more information about your system. If you don't mind, please attach your mask.json and your TypoScript configuration (language handling configuration).

Thank you for your feedback.

@blueamerican
Copy link
Author

what do you mean with mask.json?

language settings
#################
sys_language_uid = 0
sys_language_overlay = 1
language = de
locale_all = de_DE.UTF-8
htmlTag_setParams = lang="de" dir="ltr" class="no-js"

[globalVar = GP:L = 1]
config {
sys_language_uid = 1
language = en
locale_all = en_US.UTF-8
htmlTag_setParams = lang="en" dir="ltr" class="no-js"
}
[global]

System
##############
TYPO3 7.6.14
mask 2.1.1
mask_export 0.4.2

@IchHabRecht
Copy link
Owner

Hi Markus,

You should see a mask.json file in your typo3conf folder in your TYPO3 installation. Do you mind to provide this file?

What is your configuration of config.sys_language_mode and config.sys_language_overlay?

@blueamerican
Copy link
Author

mask.zip

@blueamerican
Copy link
Author

config.sys_language_overlay = 1
config.sys_language_mode is not set, maybe this is a reason?

@IchHabRecht
Copy link
Owner

I will investigate in the next few days. Thanks for providing those information.

@blueamerican
Copy link
Author

blueamerican commented Dec 14, 2016

after removing
sys_language_overlay = 1
from my config, i can see the correct english content now.

but the original content is now not shown because ist is set to language "ALL".
see screen

if i manually select the language to "Default", it works.

linklist

@IchHabRecht
Copy link
Owner

You shouldn't adjust config.sys_language_overlay but the TypoScript of the export as mentioned in #23 (comment) (see where clause and markers).

@blueamerican
Copy link
Author

ok it worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants