Croatian language translate - by vitar385

This topic has 14 replies, 4 voices, and was last updated 8 years, 12 months ago ago by Eva Kemp

  • Avatar: vitar385
    vitar385
    Participant
    April 14, 2015 at 14:12

    Hi i have trouble with setuping display in two languages, a have made .po file for Croatian and English, but i have trouble with wp-comfig. I have installed WMPL on my site everything is working ok, but some part of theme a can to get working.

    i have tried to put following code in to wp-config.php but it doesn’t work.

    Any advice or help is welcome 🙂

    13 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    April 14, 2015 at 14:13

    Hello,

    Could you please clarify with more details what exactly you want to do and show us screenshots?

    Regards,
    Robert Hall.

    Avatar: vitar385
    vitar385
    Participant
    April 16, 2015 at 09:45

    http://zlatarna-jozef-gjoni.hr/ – this is croatina verison of site- and not all string are shown in croatian. like (“view more products”) on products scroller in bottom.

    http://zlatarna-jozef-gjoni.hr/nakit/nakit-s-dragim-kamenjem/z011/ ( category menu is allso displayed in english).

    That is the problem,

    i have made .po file in croatian and put it in correct place, and alls put thios in wp-config.php as instructed in documation.

    /** postavke jezika*/if (strpos($_SERVER[‘REQUEST_URI’], ‘/enblog’) === 0) { define (‘WPLANG’, ‘en_GB’);} else { define (‘WPLANG’, ‘hr_HR’);}

    Avatar: Robert Hall
    Robert Hall
    Support staff
    April 16, 2015 at 09:50

    Hello,

    Please provide us with wp-admin and FTP credentials in Private Content.

    Regards,
    Robert Hall.

    Avatar: vitar385
    vitar385
    Participant
    April 16, 2015 at 09:59

    information that you required is in private content.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    April 16, 2015 at 12:17

    Hello,

    Please read our documentation carefully https://www.8theme.com/demo/docs/legenda/index.html#!/how_to_translate
    You should use the $locale with prefix with your language name in wp-config.php file which should be similar to the translation file name. For example: $locale='de_DE';

    Regards,
    Eva Kemp.

    Avatar: vitar385
    vitar385
    Participant
    April 16, 2015 at 13:02

    can you please send mi what needs to be put into wp-config for two languages to work properly, or some example of code?

    Avatar: stan
    Stan Russell
    Participant
    April 16, 2015 at 13:26

    Hello,

    please specify – do you want to have two languages on your site at the same time?

    Regards,
    Stan Russell.

    Avatar: vitar385
    vitar385
    Participant
    April 16, 2015 at 13:31

    Hi, i wont to when certain language is selected all string of theme is on that language in this case Croatian, and when some one selects other language in this case English to switch in English, as you can see now it doesn’t work for all string , that is the problem and i i don’t know what goes to wp-config for this to work.

    Avatar: Eva
    Eva Kemp
    Support staff
    April 16, 2015 at 17:19

    Hello,

    In this case you need use WPML plugin https://wpml.org/ to have multilingual site. It’s fully compatible with our theme.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: vitar385
    vitar385
    Participant
    April 22, 2015 at 10:15

    Hi i have WMPL but i have still problem, for example a cant translate contact form and some other strings, as i have mentoned in past posts!
    In case when i have instaled WMPL , does the theme needs default.po file in theme folder or not?

    And one 2 other qusetion:

    1. on mobile verison top menu with flag is note showen?
    2. regarding the footer area how do I setup more widget to be desplayed as in demo , but when i put more that two widgets they are note displayed as in demo?

    Thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    April 22, 2015 at 11:41

    Hello,

    Now theme strings for translation are visible in WPML > String Translation and you can translate other content. Please check it.
    1. Add this code in custom.css file:

    @media (max-width: 480px) {.top-bar .languages-area {
        display: inline !important;
    }}

    2. You need create static block in wp-admin panel > Static Blocks and then add the widget “Static Block” into “Footer 1” or “Footer 2” area in Appearance > Widgets as described in our documentation: https://www.8theme.com/demo/docs/legenda/index.html#!/footer

    Regards,
    Eva Kemp.

    Avatar: vitar385
    vitar385
    Participant
    April 29, 2015 at 08:35

    Hi i have resloved the problem with WMPL and now the languge seating is ok, but i still have problem with shoving top menu on mobile version for language selecting.

    I have added the code as you sed but itz dosen’t show.

    Avatar: Eva
    Eva Kemp
    Support staff
    April 29, 2015 at 11:36

    Hello,

    You didn’t rename default.custom.css to custom.css.
    How to create custom.css you can watch in this tutorial.

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 14 results - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.