• Resolved schacham

    (@schacham)


    I have the shortcode [piecal], but I don’t know how to insert the language pt_BR.

    I tried some ways, without success.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Spellhammer

    (@spellhammer)

    To change the language of most aspects of the calendar on the front-end, try using a two-character locale code: [piecal locale=”pt”] should work to translate the calendar’s UI (with a few exceptions) into Portuguese.

    The next version of Pie Calendar will have more robust support for string translation, allowing you to translate the rest of the plugin’s strings (including those that don’t change when the locale code changes) using something like Loco Translate.

    Thread Starter schacham

    (@schacham)

    Thanks a lot!

    Is there some manual to help to format with CSS?

    Plugin Author Spellhammer

    (@spellhammer)

    Is there some manual to help to format with CSS?

    Not yet, but I’d be glad to advise if you can tell me the specific changes you’d like to make.

    Thread Starter schacham

    (@schacham)

    Thanks, Spellhammer,

    I would like to change this, if possible:

    • the button (the one that goes for next month, or last month): background color and size;
    • the days’ cells: height, background color, and text orientation (to centralize).
    Plugin Author Spellhammer

    (@spellhammer)

    Hey @schacham,

    To change the background color & size of the next/previous buttons at the top of the calendar, you should be able to use some CSS like this:

    .fc-toolbar .fc-prev-button,
    .fc-toolbar .fc-next-button {
        background: black;
        padding: 16px 32px;
        color: yellow;
    }

    For manipulating the styles of the day cells in the normal grid view, you can use a selector like this:

    td.fc-day {
        height: 150px;
    }
    Thread Starter schacham

    (@schacham)

    Thanks a lot, Spellhammer!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to change the plugin language’ is closed to new replies.