From f14c12f183ecdf6cfdb910729ce928f79d329f85 Mon Sep 17 00:00:00 2001 From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> Date: Mon, 8 Feb 2021 23:10:39 +0100 Subject: [PATCH 01/24] Initial scaffold for localization --- Gemfile | 3 + Gemfile.lock | 5 +- _config.yml | 2 + _i18n/en.yml | 5 + .../_posts}/2020-02-28-J3-february-meeting.md | 0 .../2020-04-06-Announcing-FortranCon-2020.md | 0 .../en/_posts}/2020-04-18-Fortran-Webinar.md | 0 .../2020-05-01-Fortran-Newsletter-May-2020.md | 0 ...2020-06-01-Fortran-Newsletter-June-2020.md | 0 ...2020-07-01-Fortran-Newsletter-July-2020.md | 0 ...20-08-01-Fortran-Newsletter-August-2020.md | 0 ...09-01-Fortran-Newsletter-September-2020.md | 0 ...0-10-01-Fortran-Newsletter-October-2020.md | 0 ...-11-01-Fortran-Newsletter-November-2020.md | 0 ...-12-01-Fortran-Newsletter-December-2020.md | 0 ...1-01-01-Fortran-Newsletter-January-2021.md | 0 ...-02-01-Fortran-Newsletter-February-2021.md | 0 _i18n/en/community/index.html | 182 +++++++++++++++++ _i18n/en/compilers.md | 177 +++++++++++++++++ _i18n/en/index.html | 170 ++++++++++++++++ _i18n/en/learn/index.html | 116 +++++++++++ _i18n/en/news/archive.html | 21 ++ _i18n/en/news/index.html | 42 ++++ _i18n/en/packages/index.html | 93 +++++++++ _i18n/en/packages/search.html | 30 +++ community/index.html | 183 +----------------- compilers.md | 178 +---------------- index.html | 171 +--------------- learn/index.html | 117 +---------- news/archive.html | 22 +-- news/index.html | 43 +--- packages/index.html | 95 +-------- packages/search.html | 32 +-- 33 files changed, 853 insertions(+), 834 deletions(-) create mode 100644 _i18n/en.yml rename {_posts => _i18n/en/_posts}/2020-02-28-J3-february-meeting.md (100%) rename {_posts => _i18n/en/_posts}/2020-04-06-Announcing-FortranCon-2020.md (100%) rename {_posts => _i18n/en/_posts}/2020-04-18-Fortran-Webinar.md (100%) rename {_posts => _i18n/en/_posts}/2020-05-01-Fortran-Newsletter-May-2020.md (100%) rename {_posts => _i18n/en/_posts}/2020-06-01-Fortran-Newsletter-June-2020.md (100%) rename {_posts => _i18n/en/_posts}/2020-07-01-Fortran-Newsletter-July-2020.md (100%) rename {_posts => _i18n/en/_posts}/2020-08-01-Fortran-Newsletter-August-2020.md (100%) rename {_posts => _i18n/en/_posts}/2020-09-01-Fortran-Newsletter-September-2020.md (100%) rename {_posts => _i18n/en/_posts}/2020-10-01-Fortran-Newsletter-October-2020.md (100%) rename {_posts => _i18n/en/_posts}/2020-11-01-Fortran-Newsletter-November-2020.md (100%) rename {_posts => _i18n/en/_posts}/2020-12-01-Fortran-Newsletter-December-2020.md (100%) rename {_posts => _i18n/en/_posts}/2021-01-01-Fortran-Newsletter-January-2021.md (100%) rename {_posts => _i18n/en/_posts}/2021-02-01-Fortran-Newsletter-February-2021.md (100%) create mode 100644 _i18n/en/community/index.html create mode 100644 _i18n/en/compilers.md create mode 100644 _i18n/en/index.html create mode 100644 _i18n/en/learn/index.html create mode 100644 _i18n/en/news/archive.html create mode 100644 _i18n/en/news/index.html create mode 100644 _i18n/en/packages/index.html create mode 100644 _i18n/en/packages/search.html diff --git a/Gemfile b/Gemfile index 554a9ee03..5daf2e405 100644 --- a/Gemfile +++ b/Gemfile @@ -3,5 +3,8 @@ source 'https://rubygems.org' # This will help ensure the proper Jekyll version is running. gem "jekyll", "~> 3.8.5" +# I18n support for Jekyll +gem "jekyll-multiple-languages-plugin" + # https://github.com/github/pages-gem #gem 'github-pages', group: :jekyll_plugins diff --git a/Gemfile.lock b/Gemfile.lock index 6bf232020..6462ca7f0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -27,6 +27,8 @@ GEM pathutil (~> 0.9) rouge (>= 1.7, < 4) safe_yaml (~> 1.0) + jekyll-multiple-languages-plugin (1.7.0) + jekyll (>= 2.0, < 5.0) jekyll-sass-converter (1.5.2) sass (~> 3.4) jekyll-watch (2.2.1) @@ -56,6 +58,7 @@ PLATFORMS DEPENDENCIES jekyll (~> 3.8.5) + jekyll-multiple-languages-plugin BUNDLED WITH - 2.1.4 + 2.2.5 diff --git a/_config.yml b/_config.yml index ee91275e7..0ae82ee5f 100644 --- a/_config.yml +++ b/_config.yml @@ -4,6 +4,7 @@ markdown: kramdown title: Fortran Programming Language description: "Fortran Programming Language" +languages: ["en"] news: name: Fortran Newsletter @@ -14,6 +15,7 @@ news: url: "https://fortran-lang.org" plugins: + - jekyll-multiple-languages-plugin exclude: - CNAME diff --git a/_i18n/en.yml b/_i18n/en.yml new file mode 100644 index 000000000..f70524ba2 --- /dev/null +++ b/_i18n/en.yml @@ -0,0 +1,5 @@ +title: Fortran Programming Language +description: "Fortran Programming Language" + +langs: + en: English diff --git a/_posts/2020-02-28-J3-february-meeting.md b/_i18n/en/_posts/2020-02-28-J3-february-meeting.md similarity index 100% rename from _posts/2020-02-28-J3-february-meeting.md rename to _i18n/en/_posts/2020-02-28-J3-february-meeting.md diff --git a/_posts/2020-04-06-Announcing-FortranCon-2020.md b/_i18n/en/_posts/2020-04-06-Announcing-FortranCon-2020.md similarity index 100% rename from _posts/2020-04-06-Announcing-FortranCon-2020.md rename to _i18n/en/_posts/2020-04-06-Announcing-FortranCon-2020.md diff --git a/_posts/2020-04-18-Fortran-Webinar.md b/_i18n/en/_posts/2020-04-18-Fortran-Webinar.md similarity index 100% rename from _posts/2020-04-18-Fortran-Webinar.md rename to _i18n/en/_posts/2020-04-18-Fortran-Webinar.md diff --git a/_posts/2020-05-01-Fortran-Newsletter-May-2020.md b/_i18n/en/_posts/2020-05-01-Fortran-Newsletter-May-2020.md similarity index 100% rename from _posts/2020-05-01-Fortran-Newsletter-May-2020.md rename to _i18n/en/_posts/2020-05-01-Fortran-Newsletter-May-2020.md diff --git a/_posts/2020-06-01-Fortran-Newsletter-June-2020.md b/_i18n/en/_posts/2020-06-01-Fortran-Newsletter-June-2020.md similarity index 100% rename from _posts/2020-06-01-Fortran-Newsletter-June-2020.md rename to _i18n/en/_posts/2020-06-01-Fortran-Newsletter-June-2020.md diff --git a/_posts/2020-07-01-Fortran-Newsletter-July-2020.md b/_i18n/en/_posts/2020-07-01-Fortran-Newsletter-July-2020.md similarity index 100% rename from _posts/2020-07-01-Fortran-Newsletter-July-2020.md rename to _i18n/en/_posts/2020-07-01-Fortran-Newsletter-July-2020.md diff --git a/_posts/2020-08-01-Fortran-Newsletter-August-2020.md b/_i18n/en/_posts/2020-08-01-Fortran-Newsletter-August-2020.md similarity index 100% rename from _posts/2020-08-01-Fortran-Newsletter-August-2020.md rename to _i18n/en/_posts/2020-08-01-Fortran-Newsletter-August-2020.md diff --git a/_posts/2020-09-01-Fortran-Newsletter-September-2020.md b/_i18n/en/_posts/2020-09-01-Fortran-Newsletter-September-2020.md similarity index 100% rename from _posts/2020-09-01-Fortran-Newsletter-September-2020.md rename to _i18n/en/_posts/2020-09-01-Fortran-Newsletter-September-2020.md diff --git a/_posts/2020-10-01-Fortran-Newsletter-October-2020.md b/_i18n/en/_posts/2020-10-01-Fortran-Newsletter-October-2020.md similarity index 100% rename from _posts/2020-10-01-Fortran-Newsletter-October-2020.md rename to _i18n/en/_posts/2020-10-01-Fortran-Newsletter-October-2020.md diff --git a/_posts/2020-11-01-Fortran-Newsletter-November-2020.md b/_i18n/en/_posts/2020-11-01-Fortran-Newsletter-November-2020.md similarity index 100% rename from _posts/2020-11-01-Fortran-Newsletter-November-2020.md rename to _i18n/en/_posts/2020-11-01-Fortran-Newsletter-November-2020.md diff --git a/_posts/2020-12-01-Fortran-Newsletter-December-2020.md b/_i18n/en/_posts/2020-12-01-Fortran-Newsletter-December-2020.md similarity index 100% rename from _posts/2020-12-01-Fortran-Newsletter-December-2020.md rename to _i18n/en/_posts/2020-12-01-Fortran-Newsletter-December-2020.md diff --git a/_posts/2021-01-01-Fortran-Newsletter-January-2021.md b/_i18n/en/_posts/2021-01-01-Fortran-Newsletter-January-2021.md similarity index 100% rename from _posts/2021-01-01-Fortran-Newsletter-January-2021.md rename to _i18n/en/_posts/2021-01-01-Fortran-Newsletter-January-2021.md diff --git a/_posts/2021-02-01-Fortran-Newsletter-February-2021.md b/_i18n/en/_posts/2021-02-01-Fortran-Newsletter-February-2021.md similarity index 100% rename from _posts/2021-02-01-Fortran-Newsletter-February-2021.md rename to _i18n/en/_posts/2021-02-01-Fortran-Newsletter-February-2021.md diff --git a/_i18n/en/community/index.html b/_i18n/en/community/index.html new file mode 100644 index 000000000..22705e8b5 --- /dev/null +++ b/_i18n/en/community/index.html @@ -0,0 +1,182 @@ +
+

{{ page.title }}

+

{{ page.description }}

+
+ +
+
+

Fortran-lang Community Projects

+ +
+ +

+ Fortran Standard Library (stdlib)

+

+ A community-driven project for a de facto "standard" library for Fortran. + The stdlib project is both a specification and a reference implementation, developed in + cooperation with the Fortran Standards Committee. +

+ + + + GitHub +   + + + + + Documentation +   + + + + + Contributing + + + + +

+ Fortran Package Manager (fpm)

+

+ A prototype project to develop a common build system for Fortran packages + and their dependencies. +

+ + + + GitHub +   + + + + + Documentation +   + + + + + Contributing + + + +

+ fortran-lang.org

+

+ This website is open source and contributions are welcome! +

+ + + + GitHub +   + + + + + Contributing + + +
+ +
+ +
+
+
+ + + +
+
+ +
+
+

Get Involved

+ +
+

+ + Join the Discussion

+

+ The easiest way to join the community and contribute is by + commenting on issues and pull requests in the project + repositories. + + Whether Fortran beginner or seasoned veteran, your feedback and comments are most + welcome in guiding the future of Fortran-lang. + + +

+
+ +
+

+ Build and Test

+

+ Get more involved with each project by cloning, building and testing + it on your own machine(s) and with your own codes; + if something doesn't work, create an issue to let us know! + We value user feedback highly, be it a bug report, feature request, or + suggestion for documentation. +

+
+ +
+ +
+

+ Contributor Guide

+

+ Want to contribute code and content? + Check out the contributor guides in each repository for information + on the project workflow and recommended practices. +

+ +
+ +
+

+ Community Conduct

+

+ As a community, we strive to make participation in our discussions and projects a friendly and + harassment-free experience for everyone. + +

+

See the full + Code of Conduct +

+
+ +
+
+ +
+
+

Fortran-lang Contributors

+

+ We are grateful for every contribution made by all members of the community. +

+
+
+
+
+ + + + + diff --git a/_i18n/en/compilers.md b/_i18n/en/compilers.md new file mode 100644 index 000000000..f09a3f1af --- /dev/null +++ b/_i18n/en/compilers.md @@ -0,0 +1,177 @@ +Fortran has over a dozen open source and commercial compilers. + +## Open source compilers + +### GNU Fortran Compiler + +[GNU Fortran Compiler (gfortran)](https://gcc.gnu.org/fortran/) is a mature +free and open source compiler, part of the GNU Compiler Collection. + +[OpenCoarrays](http://www.opencoarrays.org/) is a library and compiler wrapper +around gfortran which enables the parallel programming features of Fortran 2018 +with gfortran. + + +### LLVM Flang + +[Flang](https://github.com/llvm/llvm-project/tree/master/flang) +is a new front-end for Fortran 2018 that has been recently +added to LLVM. +It is implemented in modern C++ and uses a Fortran-oriented MLIR dialect for lowering to LLVM IR. +This project is under active development. + + +### Current Flang + +[Flang](https://github.com/flang-compiler/flang) is an open source compiler +based on the NVIDIA/PGI commercial compiler. + + +### LFortran + +[LFortran](https://lfortran.org) is a modern, interactive, LLVM-based Fortran +compiler. + + +## Commercial compilers + +### Intel + +[Intel oneAPI](https://software.intel.com/content/www/us/en/develop/tools/oneapi/all-toolkits.html) +is Intel's suite of compilers, tools, and libraries for Fortran, C, C++, and +Python. Intel oneAPI HPC Toolkit provides +[two Fortran compilers](https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-fortran-compiler-release-notes.html): +* Intel Fortran Compiler Classic (`ifort`), a mature compiler + with full Fortran 2018 support; and +* Intel Fortran Compiler Beta (`ifx`), a new, LLVM-based compiler + that supports Fortran 95 and partially newer versions of the standard. + +Intel oneAPI is available for free. + +### NAG + +The latest [NAG Fortran Compiler](https://www.nag.com/nag-compiler) +release (7.0) has extensive support for legacy and modern Fortran features including parallel programming with coarrays, as well as additional support for programming with OpenMP. + +The Compiler also provides significant support for Fortran 2018 (atomic +operations, events and tasks, plus other smaller features), almost all of +Fortran 2008, complete coverage of Fortran 2003, and all of OpenMP 3.1. All +platforms include supporting tools for software development: source file +polishers, dependency generator for module and include files, call-graph +generator, interface builder and a precision unifier. + +### NVIDIA + +The [NVIDIA HPC SDK](https://developer.nvidia.com/hpc-sdk) C, C++, and Fortran compilers, former [PGI compilers](https://www.pgroup.com/products/index.htm), support GPU acceleration of HPC modeling and simulation applications with standard C++ and Fortran, OpenACC® directives, and CUDA®. GPU-accelerated math libraries maximize performance on common HPC algorithms, and optimized communications libraries enable standards-based multi-GPU and scalable systems programming. + +### HPE / Cray + +The [Cray Compiling Environment (CCE)](https://www.cray.com/sites/default/files/SB-Cray-Programming-Environment.pdf) +is the cornerstone innovation of Cray's adaptive computing paradigm. CCE builds +on a well-developed and sophisticated Cray technology base that identifies +regions of computation that are either sequential scalar, vector parallel or +highly multithreaded. It includes optimizing compilers that automatically +exploit the scalar, vector and multithreading hardware capabilities of the Cray +system. CCE supports Fortran, C and C++. + +### IBM + +[IBM® XL Fortran](https://www.ibm.com/us-en/marketplace/xl-fortran-linux-compiler-power) +for Linux is an industry standards-based programming tool used to develop large +and complex applications in the Fortran programming language. It generates code +that leverages the capabilities of the latest POWER9 architecture and maximizes +your hardware utilization. IBM XL Fortran for Linux optimizes your +infrastructure on IBM Power Systems™ in support of extensive numerical, +scientific and high-performance computing. + +### AMD + +The [AMD Optimizing C/C++ Compiler (AOCC)](https://developer.amd.com/amd-aocc/) +compiler system is a high performance, production quality code generation tool. +The AOCC environment provides various options to developers when building and +optimizing C, C++, and Fortran applications targeting 32-bit and 64-bit Linux® +platforms. The AOCC compiler system offers a high level of advanced +optimizations, multi-threading and processor support that includes global +optimization, vectorization, inter-procedural analyses, loop transformations, +and code generation. AMD also provides highly optimized libraries, which extract +the optimal performance from each x86 processor core when utilized. The AOCC +Compiler Suite simplifies and accelerates development and tuning for x86 +applications. + + +### ARM + +[Linux user-space Fortran compiler](https://developer.arm.com/tools-and-software/server-and-hpc/compile/arm-compiler-for-linux/arm-fortran-compiler). +Tailored for HPC and scientific codes, with support for popular Fortran and +OpenMP standards and tuned for leading server-class Arm-based platforms. Built +on the open source Flang front-end, and the LLVM‑based optimization and code +generation back-end. Available as part of the Arm Compiler for Linux package. + + +### Absoft + +[Our compilers](https://www.absoft.com/products/) build faster code more +efficiently than ever before. Pro Fortran delivers Absoft’s exclusive AP load +balancing (offering an increase in performance of up to 20%!), AVX, OpenMP 3.1, +highly extended Fortran 95 compiler with F2003 and F2008 features,, FX3 +graphical debugger, native tool suite integration, AMDAL HPC scientific and +engineering library, and much more. Plus, Pro Fortran is the only compiler with +Fast Data Visualization, an Absoft exclusive technology for graphical rendering +and data output. + + +### Oracle / Sun + +[Oracle C, C++, Fortran Compiler](https://www.oracle.com/application-development/technologies/developerstudio-features.html) +is highly optimized for Oracle systems, on-premise and in the cloud + +* Advanced code generation technology for the latest Oracle SPARC and x86 based systems +* Support for the latest industry standards, including C++14, C++11, C11 and OpenMP 4.0 and extensive GCC compatibility features +* Automatic code analysis during compilation and automatic stack overflow protection at application runtime + + +### Lahey / Fujitsu + +Combining the 32/64-bit LGF Rainier compiler with the classic [Lahey/Fujitsu +LF95](https://lahey.com/) compiler, LF Professional v7.8 delivers! LGF Rainier +has full Fortran 95/90/77 compliance with extensive support for the Fortran 2003 +and 2008 standards. Lahey/Fujitsu LF95 offers best in class diagnostics. +Includes the automatic-parallelizing GFortran compiler, Lahey/Fujitsu Fortran 95 +compiler, Visual Studio 2015 Shell (compatible with VS2017), Lahey's Exclusive +Visual Studio Fortran support, Winteracter WiSK Graphics package, and more! + + +### Silverfrost FTN95 + +[Silverfrost FTN95](https://www.silverfrost.com/) is a full Fortran 95 standards +compliant compiler, capable of producing fast executables for Win32 and for +Microsoft .NET. FTN95 ships with the world's best runtime checking and a great +range of supporting software. All standard and many vendor-specific legacy +language features are supported, so that Fortran projects may be any combination +of Fortran 77, Fortran 90 and Fortran 95. + + +### NEC + +[The Fortran compiler](https://www.nec.com/en/global/solutions/hpc/sx/tools.html) +conforms to the Fortran-2003 standard (ISO/IEC 1539-1:2004) and supports many +features from Fortran-2008 (ISO/IEC 1539-1:2010). + + +## Discontinued + +The following is a list of Fortran compilers that seem discontinued, so we do +not list them above: + +* Hewlett Packard +* Watcom +* PathScale +* G95 +* Open64 +* Unisys + + +## Note + +Please let us know if there is any compiler that is not listed, or if we listed +a compiler in the Discontinued section and it is in fact actively maintained. diff --git a/_i18n/en/index.html b/_i18n/en/index.html new file mode 100644 index 000000000..b91344fa9 --- /dev/null +++ b/_i18n/en/index.html @@ -0,0 +1,170 @@ +
+

High-performance parallel programming language

+

Get started

+
+ +
+
+
+

Features

+ +

High performance

+ Fortran has been designed from the ground-up for computationally + intensive applications in science and engineering. + Mature and battle-tested compilers and libraries allow you to write + code that runs close to the metal, fast. + +

Statically and strongly typed

+ Fortran is statically and strongly typed, which allows the + compiler to catch many programming errors early on for you. + This also allows the compiler to generate efficient binary code. + +

Easy to learn and use

+ Fortran is a relatively small language that is surprisingly easy + to learn and use. + Expressing most mathematical and arithmetic operations over large + arrays is as simple as you'd write them as equations on a whiteboard. + +

Versatile

+ Fortran allows you to write code in a style that best fits your problem: + Imperative, procedural, array-oriented, object-oriented, or functional. + +

Natively parallel

+ Fortran is a natively parallel programming language + with intuitive array-like syntax to communicate data between CPUs. + You can run almost the same code on a single CPU, + on a shared-memory multicore system, or on a distributed-memory + HPC or cloud-based system. + Coarrays, teams, events, and collective subroutines + allow you to express different parallel programming patterns + that best fit your problem at hand. + +
+ +
+ +
+

News

+ + {% comment %}
{% endcomment %} + + {% assign posts_to_show = 5 %} + {% for post in site.posts limit:posts_to_show %} + + + + + {% comment %}
{% endcomment %} + {% endfor %} +
{{ post.title }}   {{ post.date | date:"%d %b %Y" }}
+ {% comment %}
{% endcomment %} + +

More…

+
+ + + + +
+
+
+
+ +
+
+
+

FAQ

+ +
+

What is the status of Fortran?

+ Fortran is still in active development. + The latest revision of the language is Fortran 2018, + and the next one, with the working title Fortran 202x, + is planned for release in the next few years. + Further, open source projects like the + Standard Library + and the + Fortran Package Manager + are in active development. + +

What is Fortran used for?

+ Fortran is mostly used in domains that adopted computation + early--science and engineering. + These include numerical weather and ocean prediction, + computational fluid dynamics, applied math, statistics, and finance. + Fortran is the dominant language of High Performance Computing, + and is used to + benchmark the fastest supercomputers in the world. + +

Should I use Fortran for my new project?

+ If you're writing a program or a library to perform fast arithmetic + computation over large numeric arrays, Fortran is the optimal tool + for the job. + +
+
+ +
+

Join us!

+ + {% include mailing_list.html %} + + {% include discourse.html %} + + {% include twitter.html %} + + {% include rss_feed.html %} + +

Open source

+

+ Contribute code, report bugs and request features at + GitHub. +

+ +
+ +
+
+ +
+
+

Make Fortran better

+ +
+

Write proposals

+

+ Have an idea about how to improve the language? + You can write new proposals or contribute to existing proposals + to the Fortran Standard Committee + on GitHub. +

+
+ +
+

Develop tools

+

+ You can also help make Fortran better by contributing to its + suite of tools, such as + Standard Library, + Package Manager, or + this website. +

+
+ +
+
+ + +
+
+ +
+

Write Fortran software

+

+ Or just write Fortran software for your research, business, or schoolwork. + You can learn how to get started here. +

+
+ +
+
diff --git a/_i18n/en/learn/index.html b/_i18n/en/learn/index.html new file mode 100644 index 000000000..62d22e1e3 --- /dev/null +++ b/_i18n/en/learn/index.html @@ -0,0 +1,116 @@ +
+

{{ page.title }}

+

{{ page.description }}

+
+ +
+
+

Getting Started

+ +
+

+ New to Fortran

+

+ Try the quickstart Fortran tutorial, to + get an overview of the language syntax and capabilities. +

+ + + Quickstart tutorial + + +
+ +
+

+ Looking for help

+

+ Ask a question in the Fortran-lang discourse - a forum + for friendly discussion of all things Fortran. + +

+ + + Fortran-lang Discourse + + +
+ +
+
+
+ +
+
+ +

Mini-book Tutorials

+ + {% for category in site.data.learning.categories %} + +

+ {% if category.fa-icon %} + + {% endif %} + {{ category.name }}

+ +
+ {% assign catBooks = site.data.learning.books | where_exp:"book", "book.category == category.name"%} + + {% for book in catBooks %} +
+

+ + + {{ book.title }} +

+

{{ book.description }}

+
+ {% endfor %} +
+ + {% endfor %} + +
+
+
+ +
+
+ +

Other Resources

+ +

On the web

+ + +

In print

+ + +
+
+ diff --git a/_i18n/en/news/archive.html b/_i18n/en/news/archive.html new file mode 100644 index 000000000..9bc964d1e --- /dev/null +++ b/_i18n/en/news/archive.html @@ -0,0 +1,21 @@ +
+
+ + +
+
diff --git a/_i18n/en/news/index.html b/_i18n/en/news/index.html new file mode 100644 index 000000000..a2593698e --- /dev/null +++ b/_i18n/en/news/index.html @@ -0,0 +1,42 @@ +
+
+ + + {% include news_sidebar.html %} +
+
+ +
+
+
+ + See the + news archive for older posts +
+
+ +
diff --git a/_i18n/en/packages/index.html b/_i18n/en/packages/index.html new file mode 100644 index 000000000..fb16fa52d --- /dev/null +++ b/_i18n/en/packages/index.html @@ -0,0 +1,93 @@ +
+

{{ page.title }}

+

{{ page.description }}

+
+ +
+
+

Find a Package

+ +
+
+ + +
+
+ +
+

+ Package Index

+

+ The fortran-lang package index is community-maintained and + lists open source Fortran-related projects. + This includes large-scale scientific applications, + function libraries, Fortran interfaces, and developer tools. +

+

+ See + + here for how to get your project listed. +

+

+ Use the box above to search the package index by keyword, package name, or author username. +

+ +
+ +
+

+ Featured topics

+
+
+ +
+
+ +
+
+

Browse Packages by Category

+ + + +
+ + {% for sitePage in site.pages %} + + {% if sitePage.code_category %} + {% if sitePage.code_category != 'preview' %} + + {% endif %} + {% endif %} + + {% endfor%} +
+
+
+ +
+
+
+ + See + + here for how to get your project listed. + +
+
+ + diff --git a/_i18n/en/packages/search.html b/_i18n/en/packages/search.html new file mode 100644 index 000000000..9e94b7f03 --- /dev/null +++ b/_i18n/en/packages/search.html @@ -0,0 +1,30 @@ +
+
+
+ +

Packages / {{page.title}}

+ +
+ + +
+
+ +
+ +
+ +
+
+ +
+
+
+ + + See + + here for how to get your project listed. + +
+
diff --git a/community/index.html b/community/index.html index 7bbed893c..05524fd7a 100644 --- a/community/index.html +++ b/community/index.html @@ -6,185 +6,4 @@ {% include nav.html active='Community' %} -
-

{{ page.title }}

-

{{ page.description }}

-
- -
-
-

Fortran-lang Community Projects

- -
- -

- Fortran Standard Library (stdlib)

-

- A community-driven project for a de facto "standard" library for Fortran. - The stdlib project is both a specification and a reference implementation, developed in - cooperation with the Fortran Standards Committee. -

- - - - GitHub -   - - - - - Documentation -   - - - - - Contributing - - - - -

- Fortran Package Manager (fpm)

-

- A prototype project to develop a common build system for Fortran packages - and their dependencies. -

- - - - GitHub -   - - - - - Documentation -   - - - - - Contributing - - - -

- fortran-lang.org

-

- This website is open source and contributions are welcome! -

- - - - GitHub -   - - - - - Contributing - - -
- -
- -
-
-
- - - -
-
- -
-
-

Get Involved

- -
-

- - Join the Discussion

-

- The easiest way to join the community and contribute is by - commenting on issues and pull requests in the project - repositories. - - Whether Fortran beginner or seasoned veteran, your feedback and comments are most - welcome in guiding the future of Fortran-lang. - - -

-
- -
-

- Build and Test

-

- Get more involved with each project by cloning, building and testing - it on your own machine(s) and with your own codes; - if something doesn't work, create an issue to let us know! - We value user feedback highly, be it a bug report, feature request, or - suggestion for documentation. -

-
- -
- -
-

- Contributor Guide

-

- Want to contribute code and content? - Check out the contributor guides in each repository for information - on the project workflow and recommended practices. -

- -
- -
-

- Community Conduct

-

- As a community, we strive to make participation in our discussions and projects a friendly and - harassment-free experience for everyone. - -

-

See the full - Code of Conduct -

-
- -
-
- -
-
-

Fortran-lang Contributors

-

- We are grateful for every contribution made by all members of the community. -

-
-
-
-
- - - - - +{% tf community/index.html %} diff --git a/compilers.md b/compilers.md index cf284e800..8e806f1be 100644 --- a/compilers.md +++ b/compilers.md @@ -4,180 +4,4 @@ title: Fortran Compilers navbar: Compilers --- -Fortran has over a dozen open source and commercial compilers. - -## Open source compilers - -### GNU Fortran Compiler - -[GNU Fortran Compiler (gfortran)](https://gcc.gnu.org/fortran/) is a mature -free and open source compiler, part of the GNU Compiler Collection. - -[OpenCoarrays](http://www.opencoarrays.org/) is a library and compiler wrapper -around gfortran which enables the parallel programming features of Fortran 2018 -with gfortran. - - -### LLVM Flang - -[Flang](https://github.com/llvm/llvm-project/tree/master/flang) -is a new front-end for Fortran 2018 that has been recently -added to LLVM. -It is implemented in modern C++ and uses a Fortran-oriented MLIR dialect for lowering to LLVM IR. -This project is under active development. - - -### Current Flang - -[Flang](https://github.com/flang-compiler/flang) is an open source compiler -based on the NVIDIA/PGI commercial compiler. - - -### LFortran - -[LFortran](https://lfortran.org) is a modern, interactive, LLVM-based Fortran -compiler. - - -## Commercial compilers - -### Intel - -[Intel oneAPI](https://software.intel.com/content/www/us/en/develop/tools/oneapi/all-toolkits.html) -is Intel's suite of compilers, tools, and libraries for Fortran, C, C++, and -Python. Intel oneAPI HPC Toolkit provides -[two Fortran compilers](https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-fortran-compiler-release-notes.html): -* Intel Fortran Compiler Classic (`ifort`), a mature compiler - with full Fortran 2018 support; and -* Intel Fortran Compiler Beta (`ifx`), a new, LLVM-based compiler - that supports Fortran 95 and partially newer versions of the standard. - -Intel oneAPI is available for free. - -### NAG - -The latest [NAG Fortran Compiler](https://www.nag.com/nag-compiler) -release (7.0) has extensive support for legacy and modern Fortran features including parallel programming with coarrays, as well as additional support for programming with OpenMP. - -The Compiler also provides significant support for Fortran 2018 (atomic -operations, events and tasks, plus other smaller features), almost all of -Fortran 2008, complete coverage of Fortran 2003, and all of OpenMP 3.1. All -platforms include supporting tools for software development: source file -polishers, dependency generator for module and include files, call-graph -generator, interface builder and a precision unifier. - -### NVIDIA - -The [NVIDIA HPC SDK](https://developer.nvidia.com/hpc-sdk) C, C++, and Fortran compilers, former [PGI compilers](https://www.pgroup.com/products/index.htm), support GPU acceleration of HPC modeling and simulation applications with standard C++ and Fortran, OpenACC® directives, and CUDA®. GPU-accelerated math libraries maximize performance on common HPC algorithms, and optimized communications libraries enable standards-based multi-GPU and scalable systems programming. - -### HPE / Cray - -The [Cray Compiling Environment (CCE)](https://www.cray.com/sites/default/files/SB-Cray-Programming-Environment.pdf) -is the cornerstone innovation of Cray's adaptive computing paradigm. CCE builds -on a well-developed and sophisticated Cray technology base that identifies -regions of computation that are either sequential scalar, vector parallel or -highly multithreaded. It includes optimizing compilers that automatically -exploit the scalar, vector and multithreading hardware capabilities of the Cray -system. CCE supports Fortran, C and C++. - -### IBM - -[IBM® XL Fortran](https://www.ibm.com/us-en/marketplace/xl-fortran-linux-compiler-power) -for Linux is an industry standards-based programming tool used to develop large -and complex applications in the Fortran programming language. It generates code -that leverages the capabilities of the latest POWER9 architecture and maximizes -your hardware utilization. IBM XL Fortran for Linux optimizes your -infrastructure on IBM Power Systems™ in support of extensive numerical, -scientific and high-performance computing. - -### AMD - -The [AMD Optimizing C/C++ Compiler (AOCC)](https://developer.amd.com/amd-aocc/) -compiler system is a high performance, production quality code generation tool. -The AOCC environment provides various options to developers when building and -optimizing C, C++, and Fortran applications targeting 32-bit and 64-bit Linux® -platforms. The AOCC compiler system offers a high level of advanced -optimizations, multi-threading and processor support that includes global -optimization, vectorization, inter-procedural analyses, loop transformations, -and code generation. AMD also provides highly optimized libraries, which extract -the optimal performance from each x86 processor core when utilized. The AOCC -Compiler Suite simplifies and accelerates development and tuning for x86 -applications. - - -### ARM - -[Linux user-space Fortran compiler](https://developer.arm.com/tools-and-software/server-and-hpc/compile/arm-compiler-for-linux/arm-fortran-compiler). -Tailored for HPC and scientific codes, with support for popular Fortran and -OpenMP standards and tuned for leading server-class Arm-based platforms. Built -on the open source Flang front-end, and the LLVM‑based optimization and code -generation back-end. Available as part of the Arm Compiler for Linux package. - - -### Absoft - -[Our compilers](https://www.absoft.com/products/) build faster code more -efficiently than ever before. Pro Fortran delivers Absoft’s exclusive AP load -balancing (offering an increase in performance of up to 20%!), AVX, OpenMP 3.1, -highly extended Fortran 95 compiler with F2003 and F2008 features,, FX3 -graphical debugger, native tool suite integration, AMDAL HPC scientific and -engineering library, and much more. Plus, Pro Fortran is the only compiler with -Fast Data Visualization, an Absoft exclusive technology for graphical rendering -and data output. - - -### Oracle / Sun - -[Oracle C, C++, Fortran Compiler](https://www.oracle.com/application-development/technologies/developerstudio-features.html) -is highly optimized for Oracle systems, on-premise and in the cloud - -* Advanced code generation technology for the latest Oracle SPARC and x86 based systems -* Support for the latest industry standards, including C++14, C++11, C11 and OpenMP 4.0 and extensive GCC compatibility features -* Automatic code analysis during compilation and automatic stack overflow protection at application runtime - - -### Lahey / Fujitsu - -Combining the 32/64-bit LGF Rainier compiler with the classic [Lahey/Fujitsu -LF95](https://lahey.com/) compiler, LF Professional v7.8 delivers! LGF Rainier -has full Fortran 95/90/77 compliance with extensive support for the Fortran 2003 -and 2008 standards. Lahey/Fujitsu LF95 offers best in class diagnostics. -Includes the automatic-parallelizing GFortran compiler, Lahey/Fujitsu Fortran 95 -compiler, Visual Studio 2015 Shell (compatible with VS2017), Lahey's Exclusive -Visual Studio Fortran support, Winteracter WiSK Graphics package, and more! - - -### Silverfrost FTN95 - -[Silverfrost FTN95](https://www.silverfrost.com/) is a full Fortran 95 standards -compliant compiler, capable of producing fast executables for Win32 and for -Microsoft .NET. FTN95 ships with the world's best runtime checking and a great -range of supporting software. All standard and many vendor-specific legacy -language features are supported, so that Fortran projects may be any combination -of Fortran 77, Fortran 90 and Fortran 95. - - -### NEC - -[The Fortran compiler](https://www.nec.com/en/global/solutions/hpc/sx/tools.html) -conforms to the Fortran-2003 standard (ISO/IEC 1539-1:2004) and supports many -features from Fortran-2008 (ISO/IEC 1539-1:2010). - - -## Discontinued - -The following is a list of Fortran compilers that seem discontinued, so we do -not list them above: - -* Hewlett Packard -* Watcom -* PathScale -* G95 -* Open64 -* Unisys - - -## Note - -Please let us know if there is any compiler that is not listed, or if we listed -a compiler in the Discontinued section and it is in fact actively maintained. +{% tf compilers.md %} diff --git a/index.html b/index.html index 2b4c69038..0d0ca0886 100644 --- a/index.html +++ b/index.html @@ -5,173 +5,4 @@ {% include nav.html active='Home' %} -
-

High-performance parallel programming language

-

Get started

-
- -
-
-
-

Features

- -

High performance

- Fortran has been designed from the ground-up for computationally - intensive applications in science and engineering. - Mature and battle-tested compilers and libraries allow you to write - code that runs close to the metal, fast. - -

Statically and strongly typed

- Fortran is statically and strongly typed, which allows the - compiler to catch many programming errors early on for you. - This also allows the compiler to generate efficient binary code. - -

Easy to learn and use

- Fortran is a relatively small language that is surprisingly easy - to learn and use. - Expressing most mathematical and arithmetic operations over large - arrays is as simple as you'd write them as equations on a whiteboard. - -

Versatile

- Fortran allows you to write code in a style that best fits your problem: - Imperative, procedural, array-oriented, object-oriented, or functional. - -

Natively parallel

- Fortran is a natively parallel programming language - with intuitive array-like syntax to communicate data between CPUs. - You can run almost the same code on a single CPU, - on a shared-memory multicore system, or on a distributed-memory - HPC or cloud-based system. - Coarrays, teams, events, and collective subroutines - allow you to express different parallel programming patterns - that best fit your problem at hand. - -
- -
- -
-

News

- - {% comment %}
{% endcomment %} - - {% assign posts_to_show = 5 %} - {% for post in site.posts limit:posts_to_show %} - - - - - {% comment %}
{% endcomment %} - {% endfor %} -
{{ post.title }}   {{ post.date | date:"%d %b %Y" }}
- {% comment %}
{% endcomment %} - -

More…

-
- - - - -
-
-
-
- -
-
-
-

FAQ

- -
-

What is the status of Fortran?

- Fortran is still in active development. - The latest revision of the language is Fortran 2018, - and the next one, with the working title Fortran 202x, - is planned for release in the next few years. - Further, open source projects like the - Standard Library - and the - Fortran Package Manager - are in active development. - -

What is Fortran used for?

- Fortran is mostly used in domains that adopted computation - early--science and engineering. - These include numerical weather and ocean prediction, - computational fluid dynamics, applied math, statistics, and finance. - Fortran is the dominant language of High Performance Computing, - and is used to - benchmark the fastest supercomputers in the world. - -

Should I use Fortran for my new project?

- If you're writing a program or a library to perform fast arithmetic - computation over large numeric arrays, Fortran is the optimal tool - for the job. - -
-
- -
-

Join us!

- - {% include mailing_list.html %} - - {% include discourse.html %} - - {% include twitter.html %} - - {% include rss_feed.html %} - -

Open source

-

- Contribute code, report bugs and request features at - GitHub. -

- -
- -
-
- -
-
-

Make Fortran better

- -
-

Write proposals

-

- Have an idea about how to improve the language? - You can write new proposals or contribute to existing proposals - to the Fortran Standard Committee - on GitHub. -

-
- -
-

Develop tools

-

- You can also help make Fortran better by contributing to its - suite of tools, such as - Standard Library, - Package Manager, or - this website. -

-
- -
-
- - -
-
- -
-

Write Fortran software

-

- Or just write Fortran software for your research, business, or schoolwork. - You can learn how to get started here. -

-
- -
-
+{% tf index.html %} diff --git a/learn/index.html b/learn/index.html index d0efdb61e..dfb4119be 100644 --- a/learn/index.html +++ b/learn/index.html @@ -6,119 +6,4 @@ {% include nav.html active='Learn' %} -
-

{{ page.title }}

-

{{ page.description }}

-
- -
-
-

Getting Started

- -
-

- New to Fortran

-

- Try the quickstart Fortran tutorial, to - get an overview of the language syntax and capabilities. -

- - - Quickstart tutorial - - -
- -
-

- Looking for help

-

- Ask a question in the Fortran-lang discourse - a forum - for friendly discussion of all things Fortran. - -

- - - Fortran-lang Discourse - - -
- -
-
-
- -
-
- -

Mini-book Tutorials

- - {% for category in site.data.learning.categories %} - -

- {% if category.fa-icon %} - - {% endif %} - {{ category.name }}

- -
- {% assign catBooks = site.data.learning.books | where_exp:"book", "book.category == category.name"%} - - {% for book in catBooks %} -
-

- - - {{ book.title }} -

-

{{ book.description }}

-
- {% endfor %} -
- - {% endfor %} - -
-
-
- -
-
- -

Other Resources

- -

On the web

- - -

In print

- - -
-
- +{% tf learn/index.html %} diff --git a/news/archive.html b/news/archive.html index c832572e5..e9a9de67d 100644 --- a/news/archive.html +++ b/news/archive.html @@ -5,24 +5,4 @@ {% include nav.html active='News' %} -
-
- - -
-
+{% tf news/archive.html %} diff --git a/news/index.html b/news/index.html index a1688d604..c53000430 100644 --- a/news/index.html +++ b/news/index.html @@ -5,45 +5,4 @@ {% include nav.html active="News" %} -
-
- - - {% include news_sidebar.html %} -
-
- -
-
-
- - See the - news archive for older posts -
-
- -
+{% tf news/index.html %} diff --git a/packages/index.html b/packages/index.html index 9d7665b54..431f719b8 100644 --- a/packages/index.html +++ b/packages/index.html @@ -6,97 +6,4 @@ {% include nav.html active='Packages' %} - -
-

{{ page.title }}

-

{{ page.description }}

-
- -
-
-

Find a Package

- -
-
- - -
-
- -
-

- Package Index

-

- The fortran-lang package index is community-maintained and - lists open source Fortran-related projects. - This includes large-scale scientific applications, - function libraries, Fortran interfaces, and developer tools. -

-

- See - - here for how to get your project listed. -

-

- Use the box above to search the package index by keyword, package name, or author username. -

- -
- -
-

- Featured topics

-
-
- -
-
- -
-
-

Browse Packages by Category

- - - -
- - {% for sitePage in site.pages %} - - {% if sitePage.code_category %} - {% if sitePage.code_category != 'preview' %} - - {% endif %} - {% endif %} - - {% endfor%} -
-
-
- -
-
-
- - See - - here for how to get your project listed. - -
-
- - +{% tf packages/index.html %} diff --git a/packages/search.html b/packages/search.html index 8724ecf58..6d716f9a2 100644 --- a/packages/search.html +++ b/packages/search.html @@ -5,34 +5,4 @@ {% include nav.html active='Packages' %} - -
-
-
- -

Packages / {{page.title}}

- -
- - -
-
- -
- -
- -
-
- -
-
-
- - - See - - here for how to get your project listed. - -
-
+{% tf packages/search.html %} From 2ad21fa5b82606983ea15a0875928f864e3bcf16 Mon Sep 17 00:00:00 2001 From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> Date: Tue, 9 Feb 2021 23:59:34 +0100 Subject: [PATCH 02/24] Localize keywords and phrases in navigation bars and footers --- _i18n/en.yml | 72 +++++++++++++++++++++++++++++++++++-- _includes/book_navbar.html | 6 ++-- _includes/discourse.html | 3 +- _includes/footer.html | 19 ++++++++-- _includes/img_cached.html | 2 +- _includes/important.html | 5 +-- _includes/mailing_list.html | 7 ++-- _includes/nav.html | 18 +++++----- _includes/news_sidebar.html | 4 +-- _includes/note.html | 5 +-- _includes/rss_feed.html | 2 +- _includes/tip.html | 5 +-- _includes/twitter.html | 2 +- _layouts/book.html | 9 ++--- _layouts/code_category.html | 15 ++++---- _layouts/default.html | 2 +- _layouts/page.html | 2 +- _layouts/post.html | 7 ++-- assets/css/main.css | 6 ++-- index.html | 3 +- learn/index.html | 3 +- news/index.html | 3 +- packages/index.html | 3 +- packages/search.html | 3 +- 24 files changed, 146 insertions(+), 60 deletions(-) diff --git a/_i18n/en.yml b/_i18n/en.yml index f70524ba2..02e3bf5ec 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -1,5 +1,73 @@ -title: Fortran Programming Language -description: "Fortran Programming Language" +global: + title: Fortran Programming Language + description: "Fortran Programming Language" + discourse: Discourse + twitter: Twitter + github: GitHub + rss_feed: RSS feed + mailing_list: Mailing List + toggle_nav: Toggle navigation + site_preview: Site preview + site_preview_info: you are previewing unpublished changes for + pull_request: pull request + join_discourse: >- + Join the discussion about all things Fortran on the + fortran-lang discourse. + hosted_on_github: >- + This site's source is hosted on GitHub. + subscribe_to_mailing_list: >- + Subscribe to our mailing list + to discuss anything Fortran related, announce Fortran projects, discuss development + of core fortran-lang.org projects (stdlib, fpm), and get + the latest news. + +nav: +- title: Learn + url: /learn/ +- title: Compilers + url: /compilers/ +- title: Community + url: /community/ +- title: Packages + url: /packages/ +- title: News + url: /news/ + +nav_key: + home: Home + learn: Learn + compilers: Compilers + community: Community + packages: Packages + news: News + +book: + authors: Authors + introduction: Introduction + back_to_learn: Back to Learn Fortran index + important: Important + note: Note + tip: Tip + +book_nav: + back: Back + next: Next + +news: + authors: Authors + back_to_news: Back to news + more: More + +packages: + featured: Featured Open Source Projects + tagline: A rich ecosystem of high-performance code + footer_text: >- + See + + here for how to get your project listed. langs: en: English + fr: French + de: German + diff --git a/_includes/book_navbar.html b/_includes/book_navbar.html index 186b3b3d7..945d858a8 100644 --- a/_includes/book_navbar.html +++ b/_includes/book_navbar.html @@ -25,7 +25,7 @@ - Back to Learn Fortran index + {% t book.back_to_learn %}

@@ -42,12 +42,12 @@

{% if page.permalink == book.link %}
  • - Introduction
  • + {% t book.introduction %} {% assign nextPage = 0 %} {% else %}
  • - Introduction
  • + {% t book.introduction %} {% endif %} diff --git a/_includes/discourse.html b/_includes/discourse.html index 92d17f756..7ba4a0942 100644 --- a/_includes/discourse.html +++ b/_includes/discourse.html @@ -1,5 +1,4 @@

    Discourse

    - Join the discussion about all things Fortran on the - fortran-lang discourse. + {% t global.join_discourse %}

    diff --git a/_includes/footer.html b/_includes/footer.html index fd73293dd..5d0a976f2 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,7 +1,7 @@ diff --git a/_includes/img_cached.html b/_includes/img_cached.html index e3d2be782..c6404128e 100644 --- a/_includes/img_cached.html +++ b/_includes/img_cached.html @@ -13,4 +13,4 @@ \ No newline at end of file +/> diff --git a/_includes/important.html b/_includes/important.html index b090204a9..338310d88 100644 --- a/_includes/important.html +++ b/_includes/important.html @@ -1,4 +1,5 @@
    - {% capture mdcontent %}__{{include.title | default: "Important:"}}__ {{include.content}}{% endcapture %} + {% capture default_title %}{% t book.important %}:{% endcapture %} + {% capture mdcontent %}__{{include.title | default: default_title}}__ {{include.content}}{% endcapture %} {{ mdcontent | markdownify}} -
    \ No newline at end of file + diff --git a/_includes/mailing_list.html b/_includes/mailing_list.html index ed0de7d76..a2514adb5 100644 --- a/_includes/mailing_list.html +++ b/_includes/mailing_list.html @@ -1,6 +1,3 @@ -

    Mailing list

    +

    {% t global.mailing_list %}

    -

    Subscribe to our mailing list -to discuss anything Fortran related, announce Fortran projects, discuss development -of core fortran-lang.org projects (stdlib, fpm), and get -the latest news.

    +

    {% t global.subscribe_to_mailing_list %}

    diff --git a/_includes/nav.html b/_includes/nav.html index 4035904d3..11cc05555 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -4,11 +4,11 @@

    - Site preview: you are previewing unpublished changes for + {% t global.side_preview %}: {% t global.side_preview_info %} - pull request {{site.pull_request}} + {% t global.pull_request %} {{site.pull_request}}

    {% endif %} @@ -17,7 +17,7 @@

    diff --git a/_includes/twitter.html b/_includes/twitter.html index 59a0495b6..0a7f25f9d 100644 --- a/_includes/twitter.html +++ b/_includes/twitter.html @@ -1,4 +1,4 @@ -

    Twitter

    +

    {% t global.twitter %}

    diff --git a/_layouts/book.html b/_layouts/book.html index f8c97456c..4e865cf2c 100644 --- a/_layouts/book.html +++ b/_layouts/book.html @@ -2,7 +2,8 @@ layout: default --- -{% include nav.html active="Learn" %} +{% capture active %}{% t nav_key.learn %}{% endcapture %} +{% include nav.html active=active %}
    @@ -16,7 +17,7 @@

    {{ page.title }}

    {{ page.date | date: "%B %d, %Y" }} {% if page.author != null %} -

    Authors: {{ page.author }}

    +

    {% t book.authors %}: {{ page.author }}

    {% endif %}
    @@ -31,7 +32,7 @@

    {{ page.title }}

    {% endif %}

    - Back + {% t book_nav.back %}

    {% endif %} @@ -41,7 +42,7 @@

    - Next + {% t book_nav.next %}

    diff --git a/_layouts/code_category.html b/_layouts/code_category.html index 6d4137889..fdbff2966 100644 --- a/_layouts/code_category.html +++ b/_layouts/code_category.html @@ -2,18 +2,19 @@ layout: default --- -{% include nav.html active='Packages' %} +{% capture active %}{% t nav_key.packages %}{% endcapture %} +{% include nav.html active=active %}
    -

    Featured Open Source Projects

    -

    A rich ecosystem of high-performance code

    +

    {% t packages.featured %}

    +

    {% t packages.tagline %}

    -

    Packages / +

    {% t nav_key.packages %} / {% if page.feather-icon %} {% endif %} @@ -92,10 +93,8 @@

    - - See - - here for how to get your project listed. + + {% t packages.footer_text %}

    diff --git a/_layouts/default.html b/_layouts/default.html index 59fe714be..bea0a059e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -5,7 +5,7 @@ - {% if page.title %}{{ page.title }} - {% endif %}{{ site.title }} + {% if page.title %}{{ page.title }} - {% endif %}{% t global.title %} diff --git a/_layouts/page.html b/_layouts/page.html index db2d5b8aa..991aa0fda 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -13,7 +13,7 @@

    {{ page.title }}

    {{ page.date | date: "%B %d, %Y" }} {% if page.author != null %} -

    Authors: {{ page.author }}

    +

    {% t news.authors %} {{ page.author }}

    {% endif %}
    diff --git a/_layouts/post.html b/_layouts/post.html index 40c75fc39..8f9887155 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,20 +2,21 @@ layout: default --- -{% include nav.html active="News" %} +{% capture active %}{% t nav_key.news %}{% endcapture %} +{% include nav.html active=active %}