WordPress.org

Forums

SuperCPT
[resolved] SuperCPT and qTranslate (3 posts)

  1. Khoryolis
    Member
    Posted 2 years ago #

    Hello again,

    is there a simple way to get SuperCPT working with qTranslate (CPT, taxonomy...) ?

    Regards,
    Khoryolis

    http://wordpress.org/extend/plugins/super-cpt/

  2. Matthew Boynes
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Khoryolis,
    I've never used that plugin specifically, but the strings are generated with i18n in mind, and nothing in SuperCPT would preclude the strings from being translated. Specifically, I used WordPress' _x i18n function, which defines a string to have a context, and I set the context to be the custom post type name.

    For instance, say you setup a post type employee. By default, your singular and plural strings are "Employee" and "Employees". The translatable context is "employee", and the individual strings are:

    Employees
    Employee
    New Employee
    Add New Employee
    Edit Employee
    New Employee
    View Employee
    Search Employees
    No Employees found
    No Employees found in Trash
    Parent Employee:

    If for some reason qTranslate won't allow you to translate these, you should alert that plugin's author to the issue.

    Best of luck!

  3. Khoryolis
    Member
    Posted 2 years ago #

    Okay, thank you,I'll find a way to reach my needs and keep you in touch.

    Bye.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SuperCPT
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.