Multi-language support

This is the language picker mod I refer to

It will set the URL, which in turn sets the language for all mods on that page. You can find more info here:

Not at present, but if you want you can set a cookie based on the URL string, and then that cookie can be used to set the language on subsequent pages.

Not at present; we will need to look into this more, as those browsers may automatically translate the page anyway.

To truely make use of the language switch, I would have to work my way deep into this.

Should I really attempt to proceed developing the switcher on my very own from now on, I hesitate. That would cost me a lot of time, I suspect. Well, the first thing to mention is:

Thank you for pre-developing the language switcher half way into production. The mockup-result now is a public mod inside of the anymod-libary. I will probably have to try and develop that template into a production-ready-Template on my own from here.

I can understand your team might feel a bit exhausted and is not interested in investing even more time into that multi-language feature. I am aware you already worked a long way to get to the current point. ( the availability of multi-Language in the backend and frontend! )

Mainly I will attempt to develop the following logic : check for the existance of a cookie , then set the cookie if needed, then add the PreFix to the Page URL and toggle the language setting, so that the language actually switches. Probably I should think about all this much deeper, even before I start to try and develop it.

And at the end of my development process I will have to test the result cross browser. I can see a lot of work ahead of me. I am not experienced enough I suppose, but I will try my best.

I will focus on developing the cookie-setting and cookie-reading , as that is truely obligatory for my customer. My client will only be able to use the languange swich on their webpage if the ‘Choice of language’ is persistent across pageloads.

The auto-detect-function regarding the default browser language, will simply be dropped. I cannot invest the nessesary time to develop such a solution for just one client alone.

my attempt to proceed developing the existing switcher will start by the beginning of next week.

If you do choose to use cookies, you can use a library like js-cookie to make reading/setting cookies much easier and with cross browser compatibility.

Another option would be to write some JS that reads the url, and if the url has the version query parameter, add that same parameter to all the other links on the page that have the same domain. This would make all the links link to the correct language as soon as it has been set once.

Hi tyler, to be quiet honest with you, I feel this is something anymld contentmanagement system should provide, If anymod offers a Mulit language feature. This is an integral part of a mulit language feature. It is not easy to drop in the language toggle mod. But yes, I will creep my way to a solution

PS: But Thank you for your advice, which is indeed very very helpful to get me started with more ease! Thank you for all your advice !!!

I created a first Test File and started to play with the new Multi language Mod.

I added the new mod = anymod-nknbbd

ISSUE ONE ==> The content of that new Mod is never displayed.

ISSUE TWO ==> The content of that new Mod only has ONE Language , I expected the same three languages to be available I was already using inside of the initial Language
MOD I dropped into the project a little bit earlier: it was the "Language Picker Mod " -
Within that MOD I expected to have established two additional Languages for the entire Project. Apparently this is not the case.
Additional Info regarding ISSUE TWO ==> One OLD!! Mod exists on the Testpage, that is the FOOTER - Element! That Singe OLD FOOTER MOD does not offer any additional languages as well. Nothing other than the default language. Is the anymod-Admin supposed to add the same languages over and over again into each old (and new) mod !?

ISSUE THREE ==> Not even if the “default” content of the new mod nknbbd is displayed. the entire new mod is ignored for unknown reasons

PS: the new Language called “deutsch” (german) does appear in the dropdown IF the current language is “default” . If Any other language is choosen, then the new Language “deutsch” will NO LONGER appear in the Menu .

PS: Tyler is a member of the Team:

This is the Page:

Time invested so far: 1,5 Hours on 15th of January to test and create this ticket.
#PS: the Language-Picker-Mod is an EXACT clone from this template Mod (only some css added and one additional language):

Hi Stefan,
In order for the content to show, you will need to add it to the HTML for the mod. In the mod you cited (nknbbd), the HTML, CSS, and JS are all empty. You could add your content, which you have named htmlContent, by adding the following to your HTML:

{{{ htmlContent }}}

That would cause the content to be added into the mod.

We are working on a way to add languages project-wide. For the time being, you would need to add the language manually, or clone a mod that already has the languages, or merge the content from a mod that has the languages.

As for the language not appearing in the dropdown: you may need to reload the page after adding it.

Oh! How very embarassing! How could I have possibly missed that. What a blunder with regard to the HTML-Field beeing empty. I should have avoided that. Okay: I will play around with the manual process of adding Languages to each Mod tomorrow in a manual fashion. I guess after playing with it some more, I might probably really want to have those settings managed globally (meaning : “project-wide”), may I ask for an estimated timeframe for the project-wide language settings to become available?
PS: As for the language not appearing in the dropdown: I did already reload the page after adding it several times! That did not improove the result. Which page are you referring to? I expect you are referring to this page: If you load this page with the ES Language selected, the page can be reloaded but the german language-selection never appears on my browser. So this issue seems to remain. Thank you for looking into this

Okay, I wanted to further investigate into the status quo, thus I performed another test.
I can now confirm the following: Existing mods (WITH multiple Language Content) can be cloned successfully. The various versions are cloned as hoped for.

By the middle of next week I intend to create another 30 Mods: Those Mod will be cloned from an old project.

I hope I will be able to create new content-versions project-wide in the projects-settings-section for both of those projects in the future.

Because otherwise it would be wise for me to create the language(content-version) settings within each of the 30 existing mods manually first (beforehand). As I could then clone those Mods inth those versions already included (towards the new project).
Whereas if I clone the mods without the language settings , I would have to add those language-setting to some 60 Mods, manually for each.

I wonder what happend if I cloned one Mod with 5 “Language-Content-Versions” into a new Project with only 3 Languages, or merely the default one content-version, --> will this cause a conflict within anymod?

also: the german language is still not appearing in the dropdown: I did already reload the page several times as you suggested:The Page-Reload will not improove the result! The german language will still be missing IF the choosen active Language is Spanish! I expect your advice to “reload the page” was referring to this page, am I right? If you load that page with the ES Language selected, the german language-selection never appears within the dropdown-LI-menu-elements in my chrome browser on win10 operating system. So this issue seems to still remain.

finally: is there an estimated timeframe for the project-wide language settings to become available?

PS: I used the old V2 Script as is. I merely added { version: ‘ES’ }, I expected this to be okay. If I shall change the Script to the one mentioned in the DOCS, pls advise : )

Time invested into this ticket since 15th of january: 2,5 Hours .

I would like to be able to communicate a rough estimation towards my client.

Hi Stefan,
You can now quickly add multiple languages from the project to a mod with some pre-populated buttons. All the content versions that have been used in the project now show, along with a button to “Add all”. We hope this makes the process much faster – please let us know if you have feedback.

Let us Please be very careful !

I realized too late I was on a live-Project.
I added another four languages testwise and deleted some three old languages:
I did so after I visited this Testpage
AND I only realized AFTER I already had the languages-settings edited, I actually was on this live-project : SkySails Group Project: 87M4M7 !
I created new languages testwise AND I deleted some old languages for the Project.

After quiet some time, fiddeling around, I came to the following conclusion:

I guess the socalled “quick-add-Language-selection” does not yet propperly reflect the NEW languages. Instead I still see the old ones: This feedback referes to Mod dklmbb

this is happening in our already mentioned live-project 87M4M7. You may look at the newly created languages for this MOD/Project here:
but you will find the quick-add to not be correct:

After you improoved this, I suggest We may better leave the live-project and proceed testing on a newly created test-project.
I feel working on the live-project is too dangerous.

Information: The newly defined Languages may remain as they are within the live project. Although I am 100% sure italian and french and spanish will never be customized for this website(project). So we may as well delete those from this project right away, if possible without creating further issues. The languages are not relevant but if neede they may remain as the project-wide languages as they seem to not do any harm currently either.

As soon as you fixed the above mentioned issue, I will create a new project and we may proceed testing and playing inside that environment.

I already feel I as though I might have spotted a number of further issues, but I will need to investigate deeper before I hand over my findings to

Testing is a bit cumbersome and time-consuming for me currently, as it takes some time to wrap my head around what is going on here.

Please also investigate into the below mentioned issue. I start to gain the impression this issue might be related to the multi-version-Capabilities anymod has added: and especially please make sure you looked at this video: for this issue: Unexpected Content Fields

SUM UP: The laguages I created here:
will not reflect here:

or here
Here the language settings do not show at all ,
suprizingly as well:

there might be additional issues with regard to repeat-field-Items, but I need to first have the current main issues erased. Afterwards I may investigate deeper. I will refer to the repeat-field-items later again. Also The Laguage Picker-dropdown-Element seems to not show all languages in the dropdown, but I will adress that later too.

Good Morning Tyler,

I will today start to develop the final-SkySails project on :

It will need multiLanguage.

I will highly appreciate any feedback.

Ps: let me know if you would like a short sum up of my above lengthy feedback

Hi Stefan,
Yes it would be helpful if you could summarize the issue you’re facing using the standard template for reporting issues.

It may be that we haven’t documented how it works, but we are able to use the multi-language feature successfully (and add languages to mods using the quick-add buttons) without issue. However we would like to continue to fix bugs if there are any, so please let us know!

Okay, I might either sum the above decription up or create a video .

I will do so tonight .

Hi Tyler,

You might want to watch the below video with a speed-setting of “2” (fast forward) in order to not loose more time than nessesary. The video happens to be a bit too long. This is the video analysis :

and this is the project-URL

Ps: I added tyler to the project! As a developer