• Resolved devsaredead

    (@devsaredead)


    I was happy to discover that Falang could easily find strings and options both from the theme and the plugins I use, but I can see that some of them are not being translated, I mean they are not even saved. There are also some which are not found at all. Can you advice?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author sbouey

    (@sbouey)

    What do you mean by not saved ? it’s possible to have the content to check locally

    Falang ready the wpml-config.xml file to discover the string to translate, if some string are missing from a plugin or theme it’s possible to updaet or make your own wpml-config.xml file

    it’s something i have done for the affiliate manager plugin look the documentation here : https://www.faboba.com/wordpress/falang-for-wordpress/documentation/178-how-to-translate-affiliates-manager.html

    Thread Starter devsaredead

    (@devsaredead)

    Before delving into the .xml option let me clarify what I mean by “not saving”. The string is available for translation but my modifications are not saved and stay as the original.

    Plugin Author sbouey

    (@sbouey)

    Can you remove in the original the circle before privacy , it’s seem a specif caractère , this can be the probem

    For another user (paid version) i have see a bug probably due to my last update, the string can be saved but it’s not always displayed , the problem was with a widget text.

    Thread Starter devsaredead

    (@devsaredead)

    …that doesn’t seem to be the problem. I have tried both with HTML code and not using the circle at all. String is not translated.

    Plugin Author sbouey

    (@sbouey)

    translated in front-end or saved ?

    if it’s not translated in front-end , it’s probably the problem i’m working on

    Thread Starter devsaredead

    (@devsaredead)

    no Stephane, it’s not even saved. The string stays as a copy of the original. I have even tried to remove the ahref but nothing happens

    Plugin Author sbouey

    (@sbouey)

    for the display , it’s due to my last version , it’s easy to fix

    in the file wp-content\plugins\falang\public\class-falang-public.php? line 114 add the load_string…. line

    if ($this->current_language = $this->get_current_language()) {

    parent::load();

    $this->load_strings_translations($this->current_language->locale);

    and comment it in the line 197 like this

    public function init() {

    parent::init();

    // $this->load_strings_translations($this->current_language->locale);

    if (get_option('permalink_structure')) {

    For the string not saved can you put here the content ,so i can test with the same content locally

    Thread Starter devsaredead

    (@devsaredead)

    always good to know you are spot on ?? However I have changed the code but the display is still in original language. The html content is

    <a >termini & condizioni ? informativa sulla privacy</a>

    you can just change any text/url to try

    • This reply was modified 3 weeks, 5 days ago by devsaredead.
    Plugin Author sbouey

    (@sbouey)

    don’t work for the save in backend with

    condizioni ? informativa

    but work with

    condizioni - informativa

    the front-end is displayed correctly with the change i give you before

    Thread Starter devsaredead

    (@devsaredead)

    ok, I did try before and it didn’t work but it’s working now in the frontend (maybe it was the cache). The backend still shows the copy of the original string, though. However, I hope you will include the possibility to add the basic HTML symbols in future updates…

    I will look into the .xml option for the strings that cannot be found.

    Plugin Author sbouey

    (@sbouey)

    for the symbols , it’s perhaps due to a security system i have put recently , with something not working it’s easier to fix, i will try for next release

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.