elek opened a new pull request #357: HDDS-2729. Enable multilingual Hugo 
features in ozone docs
URL: https://github.com/apache/hadoop-ozone/pull/357
 
 
   ## What changes were proposed in this pull request?
   
   We need to reconfigure hugo to support multilingual site (to support other 
languages)
   
   https://gohugo.io/content-management/multilingual/
   
   I added three type of fake translations to test the templates of the Hugo.
    
    * translation of the main page
    * translation of a section (concept)
    * translation of a page (concept / datanode) 
   
   The fake translation pages can be removed later or replaced during the 
translation process.
   
   The name "Mandarin" can be replaced with the proper Chinese characters in 
the follow-up patches (`config.yaml` in the `hadoop-hdds/docs` folder)
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-2729
   
   ## How was this patch tested?
   
   ```
   cd hadoop-hdds/docs
   hugo serve
   firefox localhost:1313
   ```
   
   You should see a "mandarin" text on the top right corner which points to the 
translated page

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to