• First thanks for your plugin!!

    I need to make translatable some admin settings from WP-Property

    I managed to set up everything until the screen ID, then I need to make some inputs translatable (screenshot : https://imgur.com/a/jBsXy6u )

    I have checked the sample config files, but I still cannot get where from and what to take as keys, and how to structure the json :/

    Thank you in advance!!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Projekt43

    (@projekt43)

    Also here is my wpm-config.json so far :

    {
        "post_types": {
            "property": {
                "post_title": {},
                "post_content": {},
                "post_excerpt": {}
            }
        },
        "post_fields": {},
        "admin_pages": [
            "property_page_property_settings"
        ]
    }

    Hi. Post fields “post_title”, “post_content” and “post_excerpt” are translating by default. So You should just add post type name. Like:

    
    "post_types": {
      "property": {}
    },
    

    For translating the plugins settings You have to know where the plugin saves the settings.
    Maybe You should to add some parameters to ‘options’ section in your ‘wpm-config’.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wpm-config setup for WP-Property admin’ is closed to new replies.