I like to create a language switcher with typoscript but i don't want to show two languages, only one language will show, mean when the user is in the french language he will see a link for the german site, and when he is in german he will see the french link, not the regulare FR | DE menu.
Anyone have an idea please ?
Best,
mmasmoudi
just use the options TYPO3 offers you:
I assume you build the language menu with
lib.langMenu = HMENU
lib.langMenu.special = language
then you can remove the display of the current language with
lib.langMenu.1.ACT.doNotShowLink = 1
Related
In Typo3, is there any way I can disable the language labels next to the content elements?
Or even better: Is there a way to disable all language features for a single-language site? Though the other language options are not that important as I can disable them via Page TSConfig.
It's not possible to disable all language features since even if you only have one language. You need some language specific settings, e.g. locale for date formatting or typo3Language to get the proper translation of labels in the frontend.
Nevertheless, you can change the label next to the flag:
Go to the Sites module on the left side
Select your site configuration
Go to the "Languages" tab
Select your language
Change the title, e.g. to Deutsch
I've been building a TYPO3 website. I wanted to use the multi-language capacity of TYPO3 and get acquainted with the CMS. I'm using V.9.5.6 at the moment with the Introduction Package.
I followed the manual on multi-language setup here : https://docs.typo3.org/m/typo3/guide-frontendlocalization/9.5/en-us/Index.html
When switching languages, the page refreshes but no visible changes occur.
I deleted the original "German" et "Dansk" languages, then added "French" and "German". I used the contact page as proving grounds.
I added translations in germand and french from the original english page I built. There's only a header and a contact form. In english, it reads "contact form". In german and french it should read respectively "Kontaktieren Sie uns" and "Contactez-nous".
The languages UIDs are 2 for German and 3 for French. The template, in the languages section, has "auto" for the list of languages and it pulls correctly the 2 I added, in the correct order.
In a properly setup website, if default language is English, and I click on the "German" or "French" language button at the bottom, the page should refresh and display the content translated in the language I selected and have the selected language in bold at the bottom of the page.
When clicking on the bottom links, it adds the correct L= parameter and the page loads but no visible change occur on the page. Even the language link at the bottom of the page has "Default" in bold instead of whatever I clicked.
There is NO error message when clicking on the language buttons.
I'm pretty sure this is not the standard behavior of a TYPO3 multi-lingual installation. What can cause the CMS to not fetch a translated content OR fail to get the language change information from the parameters passed in the URL ?
I'll try to answer this vague question.
Usually there are three pitfalls you should look at:
realurl (or routes in v9) here is a nice gist: https://gist.github.com/koehlersimon/9dcbabb6b1b2adcbc84db96fd144fb08
TypoScript settings for the languages: https://docs.typo3.org/m/typo3/guide-frontendlocalization/9.5/en-us/TyposcriptConfiguration/Index.html#typoscript-configuration
proper .htaccess in connection with [1.]
I also suggest to update to v 9.5.9
There have been plenty bugfixes since v 9.5.6 and updating within branch 9.5.X is really easy and non-breaking!
Similar to Displaying records from EXT:news in specific language I have a two-language site news and the settings:
sys_language_mode = strict
sys_language_overlay = 0
In the second language (en), the ext:news plugin should display news that have been regularly translated, but also english "orphans" that don't exist in the main language (de).
While this works for text, the images aren't displayed in the frontend.
They do appear in the backend, but as there is no original in the main language, I don't get the localisation buttons for the media files.
How can images be displayed for english "orphan" news?
Try EXT: repair_translation
I need to create a website with two languages one with English and German. I'm not aware of TYPO3 scripts.
As I studied different references I saw this one and tried to work out.
But I'm not able to use it because their is no language bar in top of my TYPO3 back end. Also when i tried to add language in drop down of edit page and add content page it shows only 'Default' in the list.
How can make a website with different language switching in front end?
thanks in advance
The "List"-Module (on the left) is your friend:
chose the list module and afterwards your rootpage in the pagetree (PID = 0).
In the content section in the right upper bar you can "create a new record".
Chose "Website language" and fill in the wanted properties and values...
Afterwards you will find the dropdown to create a page translation in the newly added language...
i've edited default(en) vBulletin language for my own language(Turkish), but when i want to use it for my other forums with the same version(4.2.0) / when i download vbulletin-language.xml for later use, then i'm reloading it , but some phrases turn into default style although i've edited them and translated it in my language.
1-Returns default style
2-Why its textarea is a litle long than edited ones?
Please help i have been trying to solve this problem for days
[Screenshot]
My problem may be seen on the image above
Go to : admincp -> Languages and Phrases -> Downloading and Uploading Languages
in download section choice your language and then there are 2 other options :
Include Custom Phrases AND Just fetch phrases (No language settings will be included if 'Yes' is selected)
By "language settings" we mean the settings you see when you click the [Edit Settings] link in the Language Manager. If this language is just translated phrases and no custom settings then you can select "Yes" here. Otherwise you should select "No" to keep the language whole as it is now.
in vbulletin main manual there are not good describe for this options : vbulettin manual