Does any support about
Auteur : Hakan S.
Visité 1348,
Followers 1,
Partagé 0
Hi,
I'm using Flip Clock optional objects (https://market.websitex5.com/en/objects/3a217178-142a-4337-a10b-37e16428fd8)
But i cannot find the how can i change Language to Turkish. There no any help, add or suggestion option for the other languages, for edit the day/hour/minutes.
Or how can i add the Turkish language for Days, hour, minutes instead of English...
Posté le
I did not buy this paid object, but according to the instructions you should set the language. However, I don't know if Turkish is also available.
>> https://guide.websitex5.com/en/support/solutions/articles/44000863610
I just looked at the source code in the demo.
Many languages are included in the javascript file flipclock.min.js, but no Turkish.
So you would have to manually change one of the languages in this javascript file.
Here is the relevant code for the English language in the javascript file that needs to be adjusted.
-----
{FlipClock.Lang.English={years:"Years",months:"Months",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds"},FlipClock.Lang.en=FlipClock.Lang.English,FlipClock.Lang["en-us"]=FlipClock.Lang.English,FlipClock.Lang.english=FlipClock.Lang.English}
-----
However, someone who is familiar with Javascript should do this, since special characters may have to be used for certain letters.
I found Arabic, Danish, German, English, Spanish, Finnish, French, Italian, Latvian, Dutch, Norwegian, Polish, Portuguese, Russian, Swedish and Chinese.
Perhaps Incomedia would add a section for the Turkish language.
Auteur
Thanks Daniel W.
Yes, perhaps Incomedia must add the Turkish Language to the pack. And i expected free text field for not ready languages...
But i don't know how can i edit the javascript file in websitex5
Open the file flipclock.min.js in an editor like notepad++ and edit the text.
But by an upgrade of the flipclock you will have to make the changes again.
Auteur
I searched the flipclock.min.js and flipclock*.* file but neither C nor D drive contains this file...
Where is it located?
Small instructions for do-it-yourselfers (not tested):
1) The javascript file flipclock.min.js would have to be found on the webspace in the appsresources directory and downloaded to the hard drive.
2) Then in an editor (e.g. https://notepad-plus-plus.org/ (free)) open the javascript file flipclock.min.js and in this section...
-----
{FlipClock.Lang.English={years:"Years",months:"Months",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds"},FlipClock.Lang.en=FlipClock.Lang.English,FlipClock.Lang["en-us"]=FlipClock.Lang.English,FlipClock.Lang.english=FlipClock.Lang.English}
-----
... search for the capitalized English words "Years", "Months", "Days", "Hours", "Minutes", "Seconds" and change them to Turkish.
3) Then save the changes with the editor and upload this javascript file back to the webspace in the appsresources directory.
Hints:
Downloading and uploading the javascript file can be done with WebSite X5 or with a separate FTP (e.g. FileZilla, free).
In WebSite X5 under "5 Export / Export the website to the Internet" there is an icon to the right of "Target directory" that opens the FTP window. Here at the top of the FTP window there are icons for downloading and uploading files.
It is possible that this modified JavaScript file would have to be uploaded again after each export of the website to the Internet.
Since the section for "English" was changed in the JavaScript file in my instructions, "English" must also be selected in the "Flip Clock" object when selecting the language.
Auteur
Thanks Daniel W.
How we connect to Flip Clock programmer?
I think that, it will be easier to request it from programmer.
Because there is no any "suggestion/report bug/etc" options in the related guide section
(https://guide.websitex5.com/en/support/solutions/articles/44000863610-flip-clock-object-how-to-create-a-timer-a-counter-or-a-countdown)
Hi Hakan,
thank you for getting in touch.
I have set this post as Idea so to report the need for the Turkish language added to this Object.
Thanks! Kind regards.
x Hakan S., ... (It > En) ... with one of my EXTRA codes it's very simple with a copy/paste, customizable, incorporated into the Project, and without altering the functions of the Program...
... if you are interested in my code (for example with style CSS pseudo-class), you have to post me the LINK of your page, so that I can verify, ...otherwise ignore and unsaid...
Hello, ciao
.
.