Can't add language from the setting



  • Hello,

    I'm trying to add a language from the menu vivaldi://settings/languages but the button add language has no effect. No error, nothing.
    If I open the developer console, I have an error when opening page :

    lazy_load.crisper.js:39 Uncaught (in promise) TypeError: Cannot read property 'displayName' of undefined
    at HTMLElement.getProspectiveUILanguageName_ (lazy_load.crisper.js:39)
    at runMethodEffect (polymer-extracted.js:11)
    at Function._evaluateBinding (polymer-extracted.js:11)
    at Object.runBindingEffect [as fn] (polymer-extracted.js:11)
    at runEffectsForProperty (polymer-extracted.js:11)
    at runEffects (polymer-extracted.js:11)
    at HTMLElement._propagatePropertyChanges (polymer-extracted.js:11)
    at HTMLElement._propertiesChanged (polymer-extracted.js:11)
    at HTMLElement._flushProperties (polymer-extracted.js:11)
    at HTMLElement._flushProperties (polymer-extracted.js:11)

    and then when i click the button :

    polymer-extracted.js:11 Uncaught TypeError: Cannot read property 'supported' of undefined
    at HTMLElement.getLanguages_ (lazy_load.crisper.js:31)
    at runMethodEffect (polymer-extracted.js:11)
    at Function._evaluateBinding (polymer-extracted.js:11)
    at Object.runBindingEffect [as fn] (polymer-extracted.js:11)
    at runEffectsForProperty (polymer-extracted.js:11)
    at runEffects (polymer-extracted.js:11)
    at HTMLElement._propagatePropertyChanges (polymer-extracted.js:11)
    at HTMLElement._propertiesChanged (polymer-extracted.js:11)
    at HTMLElement._flushProperties (polymer-extracted.js:11)
    at HTMLElement._flushProperties (polymer-extracted.js:11)

    By the way, I have 2 profiles. The first one alrerady got multiple languages. But none of them can add new language.

    Any clue ?


  • Moderator

    @Purgator said in Can't add language from the setting:

    vivaldi://settings/languages

    You mean the internal page opened by chrome://settings/languages?
    Or Vivaldi Tools -> Settings -> General -> Language?

    @Purgator said in Can't add language from the setting:

    By the way, I have 2 profiles.

    And how do you have created theses? How do you open them in Vivaldi?



  • I mean that i typed chrome://settings/language yes.
    My goal is to get auto-correct in 2 languages.

    About profiles

    I have the default profile, I open vivaldi with the classic shortcut to trigger it.

    And I created an other folder and i'm triggering it by using a custom shortcut with a parameter --user-data-dir


  • Moderator

    @Purgator said in Can't add language from the setting:

    I mean that i typed chrome://settings/language yes.
    My goal is to get auto-correct in 2 languages.

    Which is your current language?
    Which languages to check do you want to add?



  • Currently my language is english and want to add french.


  • Moderator

    Oh, i see, happens in 2.3.1440.48 Stable if i set in Vivaldi Settings to English (UK).
    I will check bugtracker for this bug.

    Related to this bug:
    VB-48399 "Can not add languages in internal Chrome page if Vivaldi UI set to Schweizerdeutsch"

    I update the tracker.
    Fails in internal and public 2.3 Stable and 2.4 Snapshot.



  • By the way some informations.

    Vivaldi 2.3.1440.48 (Stable channel) (64-bit)
    Revision 38c6381358a1ec7a9fc161a038fb9d7407334aa4-refs/branch-heads/3626@{#858}
    OS Windows

    And my language is English (US).

    LMAO, i just realized something funny.
    When I type chrome://settings/languages/ in the address bar, I access to the chrome like settings but at the same time the url in the address bar is changed into vivaldi://settings/languages/. Then if i type enter again in the address bar, that send me to the Vivaldi Tools -> Settings -> General -> Language.


  • Moderator

    @Purgator Yes, chrome://.... fetches always internal pages and redirects in addressbar to vivaldi://....
    That is a known issue in Vivaldi UI, that will be fixed in some future.



  • Is the issue with not being able to add language if the UI is set to English, also a known error?

    I prefer the UI to be English but I'd like to add Norwegian spellcheck too, and at the moment the "Add languages" option does nothing.


  • Moderator

    Yes, adding or changing the language or spell checker at internal page chrome://settings/language is broken 😞
    A known bug.



  • @Gwen-Dragon said in Can't add language from the setting:

    Yes, adding or changing the language or spell checker at internal page chrome://settings/language is broken 😞
    A known bug.

    OK thanks. I was able to circumvent it by changing UI language to Norwegian, restarting, and then adding spellcheck language. Then changing back to English (UK) it was available.


  • Moderator

    @Pathduck Switching back to the language it was installed (for me German) helped for me, too.



  • That not worked to me. As I set my language back to english I loose my spellcheck.
    By the way, setting language to French allow me to add other languages. I'm just loosing the configuration if i switch back to english (US).


  • Moderator

    @Purgator I feel with you. This is really a disturbing issue.
    I can only add spellcheck language if i use the UI language which was used first after install.



  • @Gwen-Dragon Is this issue reported? Any ideas when can it be fixed?


  • Moderator

    @greggor said in Can't add language from the setting:

    Is this issue reported?

    Yes, by me some time ago..
    FYI: VB-48399 "Can not add languages in internal Chrome page if Vivaldi UI language changed"

    Any ideas when can it be fixed?

    No.


  • Moderator

    For a upcoming fix see https://forum.vivaldi.net/post/280139



  • Fixed


 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.