Skip to content

Commit 91c0031

Browse files
authored
Merge pull request israelmuca#6 from israelmuca/cms/2019-02-27-how-to-international-api-i18n-validation-in-node-js-for-your-api
Automatically generated. Merged on Netlify CMS.
2 parents 80fa710 + 99797af commit 91c0031

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/blog/2019-02-27-how-to-international-api-i18n-validation-in-node-js-for-your-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ keywords: >-
1616
date: '2019-03-04T01:30:00-06:00'
1717
thumbnail: /images/uploads/kevin-walker-751074-unsplash-tiny.jpg
1818
---
19-
So a while back, I was working on an API for a customer who had an [i18n](https://en.wikipedia.org/wiki/Internationalization_and_localization) requirement. Alongside other requests, they needed their API to validate incoming user data, and depending on that data, return the specific success or error messages in the user’s provided language.
19+
Recently, I was working on a project that has an [i18n](https://en.wikipedia.org/wiki/Internationalization_and_localization) requirement. I needed the API to validate incoming user data, and depending on that data, return the specific success or error messages in the user’s provided language.
2020

21-
Regarding the actual translations, the customer wanted to easily provide the backend with the messages in both languages (Spanish and English to begin with), and they wanted to be able to eventually support more languages, being able to modify them “on the go” without requiring help from a developer.
21+
Regarding the actual translations, I wanted to easily provide the backend with the messages in both languages (Spanish and English to begin with), and I wanted to be able to eventually support more languages, being able to hire a translator if needed, and having him modify them “on the go” without requiring help from a developer.
2222

2323
So I started researching how to fulfill those requirements, and I ran into some hiccups along the way, thus, I thought it’d be nice to create a tutorial with my proposed (and implemented) solution.
2424

0 commit comments

Comments
 (0)