New Landing How can we help? Cardinal how to change cardinal theme language?

Viewing 15 posts - 16 through 30 (of 60 total)
  • Posted in: Cardinal
  • #99017
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    “Show all” is inside the theme translation.
    Can you send me all your Spanish .po and .mo files(Cardinal and Woocommerce files)

    Can find “Share it” is it “Share this”? can make a screenshot?

    -Rui

    #99080
    mike3run
    Member
    Post count: 44

    I haven’t translated anything really yet, so everything is still like on the file you provide with the theme on the latest version, same with woo commerce.

    I can’t translate the “Show All” string, is really the only one I really need, because the “Share This” i already hide it with CSS, but the “Show All” is important for me.

    I tried with POEdit and get an error which I show on the picture. Please help.

    I tried with WPML and no luck.

    And finally I tried with CodeStyling and the string is nowhere to be found I got this error as well

    link is this on my website

    http://innocon.mx/servicios/

    Attachments:
    You must be logged in to view attached files.
    #99177
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    For now you can change it directly in the file if you prefer.

    location “cardinal/swift-framework/content/sf-portfolio.php”

    Around Line 288

    
    $filter_output .= '<li class="all selected"><a data-filter="*" href="#"><span class="item-name">'. __("Show all", "swiftframework").'</span></a></li>'. "\n";

    Didn’t get any error when using poedit.
    -Rui

    #99222
    mike3run
    Member
    Post count: 44

    How did you do it in PoEdit to translate correctly.

    My steps were:

    1. Open PoEdit
    2. Translate a wordpress theme or complement (Poedit pro feature)
    3. Select es_ES as language to translate
    4. Hit cmd+f to search the string “Show All”
    5. Get zero results

    #99361
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    -Just opened Poedit.
    -Find the desire string.
    -Replace the text
    -Save
    -Upload the .mo and .po to the landguage folder

    Try it without step 2 and 3, I guess that step 2 may replace the “Show All” and that’s why you can’t find it in step 4.

    -Rui

    #103506
    Wished087
    Member
    Post count: 32

    is there any way, EASY WAY, to change the language? i did everything, translated the strings, etc, and nothing, u should put an update with this option, this is becoming so annoying…

    #103673
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    @Wished087 – It’s not the theme’s responsibility to designate what language it shows in. This is controlled in WordPress, via the setup in your wp-config.php file.

    See here: http://codex.wordpress.org/Installing_WordPress_in_Your_Language

    – Ed

    #104149
    ruadasgaivotas
    Member
    Post count: 14
    This reply has been marked as private.
    #104165
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    @ruadasgaivotas thanks for the input.
    -Rui

    #118860
    studioenigma
    Member
    Post count: 56

    Hi,

    I am running into the exact same problems. For example my cart widget, shows al English text even though my wordpress setup is set to dutch. (In wordpress 4.0 I set it to Dutch under general settings. To be sure I ALSO used define (‘WPLANG’, ‘nl_NL’); in wp-config.php.)

    It turns out about half the theme seems to be translated. For example. When i have a product in my cart. The widget says:

    1 PRODUCT IN THE CART <- English
    MICHEL
    PRIJS PER STUK: €12.00 <- Dutch
    HOEVEELHEID: 1 <- Dutch
    ×
    VIEW CART <- English
    NAAR AFREKENEN <- Dutch

    Seems really much the same problem as described above. I tried translating the strings with Codestyling Localization plug-in, but they where already translated!

    Please inform me how to fix this!

    #118861
    studioenigma
    Member
    Post count: 56
    This reply has been marked as private.
    #118890
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    just copying the translation files it’s not enough to those files be loaded.
    Check this topic.
    http://support.swiftideas.net/forums/topic/swift-framework-translations-location-for-child-theme/

    -Rui

    #118891
    studioenigma
    Member
    Post count: 56

    Hi, after opening functions.php i noticed this piece came supplied:

    	
    	/* LOAD THEME LANGUAGE
    	================================================== */
    	/*
    	*	You can uncomment the line below to include your own translations
    	*	into your child theme, simply create a "language" folder and add your po/mo files
    	*/
    	
    	// load_theme_textdomain('swiftframework', get_stylesheet_directory_uri().'/language');

    So i uncommented load_theme_textdomain. Do i need to add add_action from the mentioned post?

    I put the translation files into the /languages folder, still i get half a translated site.

    Also when i turn on the original theme….

    #118893
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Ok. That should work.
    What you mean by half translated? Need some specific examples?

    Please not that the folder name should be “language”

    -Rui

    #118895
    studioenigma
    Member
    Post count: 56

    You are right, i named it correctly though, just typo in the post.

    For example when i open the shop page:

    http://www.bellolio.nl/winkel

    The url and page title is dutch, but it says:

    “Showing the single product” in english, Departments in english, the add to cart button on mouseover in english. Then when I add the product and I look at my cart mouseover widget in the menubar it says:

    1 PRODUCT IN THE CART <- English
    MICHEL
    PRIJS PER STUK: €12.00 <- Dutch
    HOEVEELHEID: 1 <- Dutch
    ×
    VIEW CART <- English
    NAAR AFREKENEN <- Dutch

Viewing 15 posts - 16 through 30 (of 60 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register