Pathauto like pattern setting for creating menu link titles Pathauto is great, in that it allows you to set the URL alias of a node to some pattern like '[node:menu-link:parent:url:path]/[node:title]-DEV' for DEV content type.

I am trying to build a single menu containing menu links for two content types. There is typically a node titled: nodecontent for each content type, then with pathauto we set the URL for the DEV content to be nodecontent-DEV by using the above pattern. It allows us to append a string, which is great.

I cannot figure out how to do this dynamically for menu links though. Since the only automatic action Drupal does is fill in the title for 'Menu link title'. 

It would be great if I could append -DEV to each menu link (for that content type), so in one menu I could have:
Country>State>City and Country>State>City-DEV.
You could use the Automatic Node Titles module to create the titles including the DEV string, which depending on your other settings could appear in the menu: 


  "auto_nodetitle" is a small and efficient module that allows hiding of
  the content title field in the form. To prevent empty content title
  fields one can configure it to generate the title by a given pattern.
  
  When the token module is installed it's possible to use various node
  data for the auto generated title - e.g. use the text of a CCK field
  (since 5.x).


EDIT

You could also create a simple module to change the title of the nodes for the DEV content type:

Custom Node Title


  custom_node_title.info


name = Custom Title (DEV)
core = 7.x
description = Appends appropriate titles with DEV
package = custom



  custom_node_title.module


&lt;?php
/**
*   Custom Node Title Module
**/

function custom_node_title_node_presave($node)
{
    /* only run if node type is correct and '-DEV' is not found in title to prevent duplication */
    if($node-&gt;type == 'article' &amp;&amp; strpos($node-&gt;title, '-DEV') === false)
    {
        $node-&gt;title .= '-DEV'; /* add '-DEV' to title */
        $node-&gt;menu['link_title'] = $node-&gt;title; /* reset menu link to new title */
    }
}


In this example, it changes the title of an Article content type to include -DEV at the end.