[ 
https://issues.apache.org/jira/browse/BEAM-11182?focusedWorklogId=515898&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-515898
 ]

ASF GitHub Bot logged work on BEAM-11182:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Nov/20 04:57
            Start Date: 24/Nov/20 04:57
    Worklog Time Spent: 10m 
      Work Description: bntnam commented on a change in pull request #13406:
URL: https://github.com/apache/beam/pull/13406#discussion_r529202882



##########
File path: website/www/site/i18n/home/calendar/en.yaml
##########
@@ -0,0 +1,42 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+ 
+- id: home-calendar-title
+  translation: "Stay up to date with Beam"
+- id: home-calendar-category-tag-first
+  translation: "Category"
+- id: home-calendar-category-date-first
+  translation: "2020/02/21"
+- id: home-calendar-card-title-first
+  translation: "Performance-Driven Runtime Type Checking for the Python SDK"
+- id: home-calendar-card-author-first
+  translation: "Saavan Nanavati"
+- id: home-calendar-category-tag-second
+  translation: "Category"
+- id: home-calendar-category-date-second
+  translation: "2020/02/21"
+- id: home-calendar-card-title-second
+  translation: "Performance-Driven Runtime Type Checking for the Python SDK"
+- id: home-calendar-card-author-second
+  translation: "Saavan Nanavati"
+- id: home-calendar-category-tag-third
+  translation: "Category"
+- id: home-calendar-category-date-third
+  translation: "2020/02/21"
+- id: home-calendar-card-title-third
+  translation: "Performance-Driven Runtime Type Checking for the Python SDK"
+- id: home-calendar-card-author-third
+  translation: "Saavan Nanavati"
+- id: home-calendar-card-events-title
+  translation: "Upcoming events"
+- id: home-calendar-card-events-button
+  translation: "SEE MORE"

Review comment:
       Yeah. What I understand is, i18n directory is naturally offered by the 
Hugo plugin with the same name and it's used for localizing strings, syntax  
`{{ i18n "id here" }}` or `{{ T "id here" }}`. First, I got stuck when I needed 
to use a loop structure, plus translation together. Then I figured out that 
`data` let me to apply a loop structure on it as an array, and i18n helped me 
to separate directories according to the main language (data/en, data/pl, 
data/sp, etc.). I know it's a bit annoying to have 2 places, but simply think 
that one for strings and one for arrays. 😛 




----------------------------------------------------------------
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:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 515898)
    Time Spent: 40m  (was: 0.5h)

> [Website revamp] Development of Stay up to date component
> ---------------------------------------------------------
>
>                 Key: BEAM-11182
>                 URL: https://issues.apache.org/jira/browse/BEAM-11182
>             Project: Beam
>          Issue Type: Improvement
>          Components: website
>            Reporter: Agnieszka Sell
>            Assignee: Nam Bui
>            Priority: P2
>              Labels: website-revamp-2020, website-revamp-sprint-5
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to