File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,6 +100,17 @@ docker run -p 8080:80 publiccode-editor
100100
101101you can run the Docker container and see the results at [ ` http://localhost:8080 ` ] ( http://localhost:8080 ) .
102102
103+ ## Localization
104+
105+ To access the web-app in a specific language use the ` lang ` param like this: ` https://publiccode-editor-develop.vercel.app/?lang=en ` .
106+
107+ The languages that can be picked are:
108+ - "it" 🇮🇹
109+ - "en" 🇬🇧
110+ - "fr" 🇫🇷
111+ - "de" 🇩🇪
112+ - "nl" 🇳🇱
113+
103114## Contributing
104115
105116We welcome contributions!
Original file line number Diff line number Diff line change @@ -9,14 +9,16 @@ import en from "./locales/en.json";
99import fr from "./locales/fr.json" ;
1010import it from "./locales/it.json" ;
1111import de from "./locales/de.json" ;
12+ import nl from "./locales/nl.json" ;
1213
1314type LocalizedEntity = 'language' | 'region' ;
1415
1516const resources = {
1617 it : { translation : it } ,
1718 en : { translation : en } ,
1819 fr : { translation : fr } ,
19- de : { translation : de }
20+ de : { translation : de } ,
21+ nl : { translation : nl } ,
2022} ;
2123
2224i18n
You can’t perform that action at this time.
0 commit comments