Support » Plugin: Name Directory » Letters outside english alphabet

  • Resolved ojojmannen

    (@ojojmannen)


    Hello,

    this plugin seems to be exacly what I’m looking for. A glossary where I can import my csv-file.

    However, I have some problems and I think it has to do with my file containing the swedish letters Å Ä Ö. When I have entries in my excel sheet with Å Ä Ö I get an error while importing. I have tried to change Å to A and then it seems to work.

    I need to use Å Ä Ö though, is there anyway to make this work?

    Thanks.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author jeroenpeters1986

    (@jeroenpeters1986)

    Hi @ojojmannen,

    non-latin characters are supported in the plugin when they are entered. This is supported since version 1.9.x (Also see https://wordpress.org/support/topic/add-alphabet/page/2/#post-9778754).

    There are a few cases in which this might not work for you:
    * The PHP module mb_string is not installed for you on your hostingpackage
    * The PHP version on your site is ancient
    * The import goes wrong due to another issue

    So, to help you, would you please be so kind to share the .csv-file with me so I can check this? My emailaddress is jeroenpeters1986@gmail.com

    Also, can you check your PHP version and the installation of mb_string with your hostingprovider? You can also do this with the plugin: https://wordpress.org/plugins/phpinfo-print/
    This is crucial information.

    Kind regards,

    Jeroen Peters

    If you’re using WordPress 5.2, some of this information is visible already by core under Tools/Health Check.
    (Even more detailed information from phpinfo() becomes available if you install the plugin https://wordpress.org/plugins/health-check/ )

    ojojmannen

    (@ojojmannen)

    Hello,

    this PHP plugin didn’t work, I found another (I think), but I’m not sure if it shows the information you need to check.
    Also I have emailed you the CVS-file and and image of the PHP-info I found.

    I also pasted it below (looks a bit weird though)

    “mbstring
    Multibyte Support enabled
    Multibyte string engine libmbfl
    HTTP input encoding translation disabled
    libmbfl version 1.3.2
    oniguruma version 5.9.6
    mbstring extension makes use of “streamable kanji code filter and converter”, which is distributed under the GNU Lesser General Public License version 2.1.
    Multibyte (japanese) regex support enabled
    Multibyte regex (oniguruma) backtrack check On
    Multibyte regex (oniguruma) version 5.9.6
    Directive Local Value Master Value
    mbstring.detect_order no value no value
    mbstring.encoding_translation Off Off
    mbstring.func_overload 0 0
    mbstring.http_input no value no value
    mbstring.http_output no value no value
    mbstring.http_output_conv_mimetypes ^(text/|application/xhtml\+xml) ^(text/|application/xhtml\+xml)
    mbstring.internal_encoding no value no value
    mbstring.language neutral neutral
    mbstring.strict_detection Off Off
    mbstring.substitute_character no value no value”

    A “PHP plugin” is not something you install in WordPress. The web host company (or server administrator) can add it to the host environment, if needed).

    With the output from a special PHP command phpinfo() one can check what modules, etc. are installed and active on your specific server.

    ojojmannen

    (@ojojmannen)

    Also
    PHP-version: 7.2.7

    ojojmannen

    (@ojojmannen)

    I mean the link to the PHPinfo print plugin, I didn’t install.

    ojojmannen

    (@ojojmannen)

    When looking at the health check, it clearly reports, first thing, that the PHP needs to be updated (I guess that the webhosting provider should do that).

    Also it says the version is “PHP-version 7.0.33”.

    Plugin Author jeroenpeters1986

    (@jeroenpeters1986)

    Hi @ojojmannen

    thanks for sorting that out. I tried it, but it didnt work on my environment as well, I will check some more.
    The CSV seemed off btw, the quotation was weird, but also with the right quotation, it didn’t work on my environment either. To be continued!

    Kind regards,

    Jeroen Peters

    Plugin Author jeroenpeters1986

    (@jeroenpeters1986)

    @tobifjellner thanks for your help as well!

    ojojmannen

    (@ojojmannen)

    Thanks for the support!

    Plugin Author jeroenpeters1986

    (@jeroenpeters1986)

    Hi @ojojmannen,

    I have fixed it, I will push the new version 1.13.3 in a few minutes.

    It works with your example file, but the example file is wrongly formatted. It’s now formatted like this:

    "name,""description"",""submitter"""
    "Konsument,""fysisk person utanför näringsverksamhet"""
    "Näringsidkare,""fysisk eller juridisk person"""
    

    And it should be formatted like this

    "name","description","submitter"
    "Konsument","fysisk person utanför näringsverksamhet"
    "Näringsidkare","fysisk eller juridisk person"
    

    I am not really sure what you did with the file, but the quotations looked wrong. With the format from above it works nice in version 1.13.3.

    You can update to this version in a short while, and please let me know if this works 🙂

    Kind regards,

    Jeroen Peters

    ojojmannen

    (@ojojmannen)

    Amazing. I Will be sure to donate to the plugin!

    When it comes the weird quotations I have no idea how they “doubled”, so to speak. It looked ok on my end. I used the example-file provided in the plugin. And just replaced the example names with what I needed.

    I Will try the plugin as soon as I get home!

    A thousand thanks.

    Plugin Author jeroenpeters1986

    (@jeroenpeters1986)

    Hi @ojojmannen,

    No problem. Thanks for bringing this issue to my attention and for using the plugin!

    Kind regards,

    Jeroen Peters

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