diff --git a/course/editcategory.php b/course/editcategory.php
index e4b7e7a..e1d09ae 100755
--- a/course/editcategory.php
+++ b/course/editcategory.php
@@ -33,7 +33,20 @@ if ($id) {
     $category->id = 0;
     $category->parent = $parent;
     require_capability('moodle/category:manage', $context);
-    $strtitle = get_string("addnewcategory");
+
+
+    //Ravi => to change page heading accordingly on creation process of a category or sub-category
+    //--------------------------------------------------------------------------------
+    if($parent == 0)
+      {
+	$strtitle = get_string("addnewcategory");
+      }
+    else
+      {
+	$strtitle = get_string("addsubcategory");
+      }
+    //--------------------------------------------------------------------------------
+
 }
 
 $mform = new editcategory_form('editcategory.php', $category);
diff --git a/lang/en_utf8_local/moodle.php b/lang/en_utf8_local/moodle.php
new file mode 100644
index 0000000..796a59e
--- /dev/null
+++ b/lang/en_utf8_local/moodle.php
@@ -0,0 +1,5 @@
+<?php
+
+$string['addsubcategory'] = 'Add a sub-category';
+
+?>
\ No newline at end of file
