Skip to content

Commit f14c12f

Browse files
committed
Initial scaffold for localization
1 parent c6b1231 commit f14c12f

33 files changed

+853
-834
lines changed

Gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@ source 'https://rubygems.org'
33
# This will help ensure the proper Jekyll version is running.
44
gem "jekyll", "~> 3.8.5"
55

6+
# I18n support for Jekyll
7+
gem "jekyll-multiple-languages-plugin"
8+
69
# https://github.com/github/pages-gem
710
#gem 'github-pages', group: :jekyll_plugins

Gemfile.lock

+4-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ GEM
2727
pathutil (~> 0.9)
2828
rouge (>= 1.7, < 4)
2929
safe_yaml (~> 1.0)
30+
jekyll-multiple-languages-plugin (1.7.0)
31+
jekyll (>= 2.0, < 5.0)
3032
jekyll-sass-converter (1.5.2)
3133
sass (~> 3.4)
3234
jekyll-watch (2.2.1)
@@ -56,6 +58,7 @@ PLATFORMS
5658

5759
DEPENDENCIES
5860
jekyll (~> 3.8.5)
61+
jekyll-multiple-languages-plugin
5962

6063
BUNDLED WITH
61-
2.1.4
64+
2.2.5

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ markdown: kramdown
44

55
title: Fortran Programming Language
66
description: "Fortran Programming Language"
7+
languages: ["en"]
78

89
news:
910
name: Fortran Newsletter
@@ -14,6 +15,7 @@ news:
1415
url: "https://fortran-lang.org"
1516

1617
plugins:
18+
- jekyll-multiple-languages-plugin
1719

1820
exclude:
1921
- CNAME

_i18n/en.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
title: Fortran Programming Language
2+
description: "Fortran Programming Language"
3+
4+
langs:
5+
en: English

_i18n/en/community/index.html

+182
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,182 @@
1+
<section class="masthead">
2+
<h1>{{ page.title }}</h1>
3+
<h3>{{ page.description }}</h3>
4+
</section>
5+
6+
<section class="front-section shaded">
7+
<div class="container">
8+
<h2>Fortran-lang Community Projects</h2>
9+
10+
<div class="col-narrow">
11+
12+
<h3><i data-feather="database"></i>
13+
Fortran Standard Library (stdlib)</h3>
14+
<p>
15+
A community-driven project for a <i>de facto</i> "standard" library for Fortran.
16+
The stdlib project is both a specification and a reference implementation, developed in
17+
cooperation with the Fortran Standards Committee.
18+
</p>
19+
<span style="display: inline-block;">
20+
<i class="fab fa-github"></i>
21+
<a href="https://github.com/fortran-lang/stdlib" target="_blank" rel="noopener"><b>
22+
GitHub </b></a>
23+
&ensp;
24+
</span>
25+
<span style="display: inline-block;">
26+
<i class="fas fa-info-circle"></i>
27+
<a href="https://stdlib.fortran-lang.org/" target="_blank" rel="noopener"><b>
28+
Documentation </b></a>
29+
&ensp;
30+
</span>
31+
<span style="display: inline-block;">
32+
<i class="fab fa-git-alt"></i>
33+
<a href="https://github.com/fortran-lang/stdlib/blob/master/WORKFLOW.md" target="_blank" rel="noopener"><b>
34+
Contributing </b></a>
35+
</span>
36+
37+
38+
39+
<h3><i data-feather="package"></i>
40+
Fortran Package Manager (fpm)</h3>
41+
<p>
42+
A prototype project to develop a common build system for Fortran packages
43+
and their dependencies.
44+
</p>
45+
<span style="display: inline-block;">
46+
<i class="fab fa-github"></i>
47+
<a href="https://github.com/fortran-lang/fpm" target="_blank" rel="noopener"><b>
48+
GitHub </b></a>
49+
&ensp;
50+
</span>
51+
<span style="display: inline-block;">
52+
<i class="fas fa-info-circle"></i>
53+
<a href="https://github.com/fortran-lang/fpm/blob/master/PACKAGING.md" target="_blank" rel="noopener"><b>
54+
Documentation </b></a>
55+
&ensp;
56+
</span>
57+
<span style="display: inline-block;">
58+
<i class="fab fa-git-alt"></i>
59+
<a href="https://github.com/fortran-lang/fpm/blob/master/CONTRIBUTING.md" target="_blank" rel="noopener"><b>
60+
Contributing </b></a>
61+
</span>
62+
63+
64+
<h3><i data-feather="globe"></i>
65+
fortran-lang.org</h3>
66+
<p>
67+
This website is open source and contributions are welcome!
68+
</p>
69+
<span style="display: inline-block;">
70+
<i class="fab fa-github"></i>
71+
<a href="https://github.com/fortran-lang/fortran-lang.org" target="_blank" rel="noopener"><b>
72+
GitHub </b></a>
73+
&ensp;
74+
</span>
75+
<span style="display: inline-block;">
76+
<i class="fab fa-git-alt"></i>
77+
<a href="https://github.com/fortran-lang/fortran-lang.org/blob/master/CONTRIBUTING.md" target="_blank" rel="noopener"><b>
78+
Contributing </b></a>
79+
</span>
80+
81+
</br>
82+
83+
</div>
84+
85+
<div class="col-narrow">
86+
<div id="fortran-lang-gh-feed" style="height: 500px;"></div>
87+
</div>
88+
89+
90+
91+
</div>
92+
</section>
93+
94+
<section class="front-section">
95+
<div class="container">
96+
<h2>Get Involved</h2>
97+
98+
<div class="col-narrow">
99+
<h3>
100+
<i data-feather="message-circle"></i>
101+
Join the Discussion</h3>
102+
<p>
103+
The easiest way to join the community and contribute is by
104+
commenting on issues and pull requests in the project
105+
repositories.
106+
<!-- Open discussion is vital to making project decisions,
107+
and benefits greatly from varied expertise and insight across the community. -->
108+
Whether Fortran beginner or seasoned veteran, your feedback and comments are most
109+
welcome in guiding the future of Fortran-lang.
110+
111+
112+
</p>
113+
</div>
114+
115+
<div class="col-narrow">
116+
<h3> <i data-feather="terminal"></i>
117+
Build and Test</h3>
118+
<p>
119+
Get more involved with each project by cloning, building and testing
120+
it on your own machine(s) and with your own codes;
121+
if something doesn't work, create an issue to let us know!
122+
We value user feedback highly, be it a bug report, feature request, or
123+
suggestion for documentation.
124+
</p>
125+
</div>
126+
127+
</br>
128+
129+
<div class="col-narrow">
130+
<h3> <i data-feather="edit"></i>
131+
Contributor Guide</h3>
132+
<p>
133+
Want to contribute code and content?
134+
Check out the contributor guides in each repository for information
135+
on the project workflow and recommended practices.
136+
</p>
137+
<ul>
138+
<li> <a href="https://github.com/fortran-lang/stdlib/blob/master/WORKFLOW.md" target="_blank" rel="noopener">Contributor guide for stdlib</a> </li>
139+
<li> <a href="https://github.com/fortran-lang/fpm/blob/master/CONTRIBUTING.md" target="_blank" rel="noopener">Contributor guide for fpm</a> </li>
140+
<li> <a href="https://github.com/fortran-lang/fortran-lang.org/blob/master/CONTRIBUTING.md" target="_blank" rel="noopener">Contributor guide for fortran-lang.org</a> </li>
141+
</ul>
142+
</div>
143+
144+
<div class="col-narrow">
145+
<h3><i data-feather="smile"></i>
146+
Community Conduct</h3>
147+
<p>
148+
As a community, we strive to make participation in our discussions and projects a friendly and
149+
harassment-free experience for everyone.
150+
151+
</p>
152+
<p> See the full
153+
<a href="https://github.com/fortran-lang/stdlib/blob/master/CODE_OF_CONDUCT.md" target="_blank" rel="noopener">Code of Conduct</a>
154+
</p>
155+
</div>
156+
157+
</div>
158+
</section>
159+
160+
<section class="front-section shaded">
161+
<div class="container">
162+
<h2>Fortran-lang Contributors</h2>
163+
<p>
164+
We are grateful for every contribution made by all members of the community.
165+
</p>
166+
<div id="gh-contributors-slider"></div>
167+
<div id="gh-contributors"></div>
168+
</div>
169+
</section>
170+
171+
172+
<script>
173+
174+
GitHubActivity.feed({
175+
username: "fortran-lang",
176+
selector: "#fortran-lang-gh-feed",
177+
limit: 20 // optional
178+
});
179+
180+
</script>
181+
182+

0 commit comments

Comments
 (0)