Changes

Jump to navigation Jump to search
no edit summary
Line 57: Line 57:  
# Choose a page to work on. Look at [https://github.com/openfoodfacts/openfoodfacts-web/tree/main openfoodfacts-web], for example: [https://github.com/openfoodfacts/openfoodfacts-web/blob/main/lang/en/texts/who-we-are.html who-we-are].
 
# Choose a page to work on. Look at [https://github.com/openfoodfacts/openfoodfacts-web/tree/main openfoodfacts-web], for example: [https://github.com/openfoodfacts/openfoodfacts-web/blob/main/lang/en/texts/who-we-are.html who-we-are].
 
# Go to the page is organized, but you might as well decide to re-create it differently
 
# Go to the page is organized, but you might as well decide to re-create it differently
#create a new content page (see above) and send it to translation, don't forget to also change links from the old page to the new page
+
#[[Open Food Facts Contents#How to create a new content page|create a new content page (see above)]] and send it to translation, don't forget to also change links from the old page to the new page
 
#'''An important''' '''step''': we want to redirect the old urls (the content of openfoodfacts-web) to make them invisible and for SEO purpose.  In the respective lang folder in [https://github.com/openfoodfacts/openfoodfacts-web/tree/main openfoodfacts-web], add a file with a name corresponding to the page you want to redirect, ending in '''.redirect''' and put the redirection inside. Like this, [name of the text] [uri] :    E.g. in '''/lang/en/texts/en.redirect''' :
 
#'''An important''' '''step''': we want to redirect the old urls (the content of openfoodfacts-web) to make them invisible and for SEO purpose.  In the respective lang folder in [https://github.com/openfoodfacts/openfoodfacts-web/tree/main openfoodfacts-web], add a file with a name corresponding to the page you want to redirect, ending in '''.redirect''' and put the redirection inside. Like this, [name of the text] [uri] :    E.g. in '''/lang/en/texts/en.redirect''' :
  
254

edits

Navigation menu