Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3102579
Language switching in Meta
Closed

Comments

  • presentepgh started the conversation

    The site where we are using your theme is multi-lingual (English and Spanish). We use Polylang for most of our language switching outside of any utility that is inherently in the theme and, for the most part, that seems to work well. With three exceptions, 1) in the Post Meta block (the date switches to Spanish when in that version of the site, but "written by", "comment", and "views", do not), 2) in the Search fields attached to the main menu bar, and 3) in the Archive - Title block which propagates on our Category pages and Search Results pages where the category title or search terms remain Spanish, as well as the rest of the content on the page, but not header prefix. Is there a means to swap these when in Spanish?

  •  2,610
    PenciDesign replied

    Hi,

    1. You can translate all the text by going to Appearance → Customize → Quick Text Translation OR you can follow the document here to search & translate all text: https://polylang.pro/doc/strings-translation/,

    2 & 3. Please send me a screenshot of these requests.

    Regards,
    PenciDesign.


  • presentepgh replied

    So, it appears that the solution you pointed out for the first issue will actually solve the other two as well, but I need to implement it to see.

    Which does lead to one clarifying question... using the pencilang short code (presuming English and Spanish as the languages, the format is [pencilang en_US='hello' es_ES='hola' language_code='Your language text' /], what goes in the language_code section?

  •  2,610
    PenciDesign replied

    Hi,

    language_code is a short name of the language you want to translate, for example:

    [pencilang en_US='hello' es_ES='hola' it_IT='ciao' /]

    Regards,
    PenciDesign.


  • presentepgh replied

    Ah! Okay... no matter how many times I read the section in your documentation that wasn't clear to me... because you already showed the other two language options in your example it seemed like another option altogether... but, I see it now.