diff --git a/src/Goteo/Model/Project.php b/src/Goteo/Model/Project.php
index 8c50fa8f59..385bcf7241 100644
--- a/src/Goteo/Model/Project.php
+++ b/src/Goteo/Model/Project.php
@@ -896,6 +896,16 @@ public function getImage() {
return $this->imageInstance;
}
+ /**
+ * Convert the alfanumeric string ID into a numeric string ID
+ * @param int $surface Collission chance = 10**$surface
+ * @return string number-only string ID
+ */
+ public function getNumericId(int $surface = 10): string
+ {
+ return substr(base_convert(hash('sha256', $this->id), 16, 10), 0, $surface);
+ }
+
/**
* Handy method to know if project can be edited (not in campaing or finished)
*/
diff --git a/translations/ca/dashboard.yml b/translations/ca/dashboard.yml
index 27fe3d7562..21ec920d7a 100644
--- a/translations/ca/dashboard.yml
+++ b/translations/ca/dashboard.yml
@@ -73,6 +73,7 @@ dashboard-menu-profile-personal: 'Dades personals'
dashboard-menu-profile-preferences: 'Preferències'
dashboard-menu-profile-profile: 'Edita el Perfil'
dashboard-menu-profile-public: 'Perfil públic'
+dashboard-menu-project-nid: 'Identificador numèric de projecte'
dashboard-menu-projects: 'Projectes'
dashboard-menu-projects-analytics: Analítica
dashboard-menu-projects-commons: Retorns
diff --git a/translations/en/dashboard.yml b/translations/en/dashboard.yml
index d9d9c4efb4..0089a67755 100644
--- a/translations/en/dashboard.yml
+++ b/translations/en/dashboard.yml
@@ -73,6 +73,7 @@ dashboard-menu-profile-personal: 'Personal information'
dashboard-menu-profile-preferences: 'Preferences'
dashboard-menu-profile-profile: 'Edit profile'
dashboard-menu-profile-public: 'Public profile'
+dashboard-menu-project-nid: 'Numeric project identifier'
dashboard-menu-projects: 'My projects'
dashboard-menu-projects-analytics: Analytics
dashboard-menu-projects-commons: Rewards
diff --git a/translations/es/dashboard.yml b/translations/es/dashboard.yml
index b8d0576aa8..b82e9e42f9 100644
--- a/translations/es/dashboard.yml
+++ b/translations/es/dashboard.yml
@@ -73,6 +73,7 @@ dashboard-menu-profile-personal: 'Datos personales'
dashboard-menu-profile-preferences: 'Mis preferencias'
dashboard-menu-profile-profile: 'Editar perfil'
dashboard-menu-profile-public: 'Perfil público'
+dashboard-menu-project-nid: 'Identificador numérico de proyecto'
dashboard-menu-projects: 'Mis proyectos'
dashboard-menu-projects-analytics: Analítica
dashboard-menu-projects-commons: Retornos