Changes

Jump to navigation Jump to search
no edit summary
Line 30: Line 30:  
# Then again refresh available pages on [https://world.openfoodfacts.org/content/refresh openfoodfacts]. Now you can see the translation if you go to [https://fr.openfoodfacts.org/content fr.openfoodfacts.org/content] or [https://world.openfoodfacts.org/content/fr world.openfoodfacts.org/content/fr]
 
# Then again refresh available pages on [https://world.openfoodfacts.org/content/refresh openfoodfacts]. Now you can see the translation if you go to [https://fr.openfoodfacts.org/content fr.openfoodfacts.org/content] or [https://world.openfoodfacts.org/content/fr world.openfoodfacts.org/content/fr]
 
# Finally, we need to redirect the old urls. In the respective lang folder, add a file with a name ending in '''.redirect''' and put the redirection inside. Like this, [name of the text] [uri] :  E.g. in '''/lang/en/texts/en.redirect''' :
 
# Finally, we need to redirect the old urls. In the respective lang folder, add a file with a name ending in '''.redirect''' and put the redirection inside. Like this, [name of the text] [uri] :  E.g. in '''/lang/en/texts/en.redirect''' :
 +
{|
 +
|who-we-are /content/en/who-we-are
    +
contribute /content/en/contribute
 +
|}
 
[[Category:Translations]]
 
[[Category:Translations]]
36

edits

Navigation menu