From cf249559cf66aa55e3f384aff8a77f82e3936064 Mon Sep 17 00:00:00 2001 From: OLSSON Hans Date: Fri, 4 Mar 2022 14:38:47 +0100 Subject: [PATCH] Use URIs --- chapters/packages.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chapters/packages.tex b/chapters/packages.tex index fec2f34f9..20547e946 100644 --- a/chapters/packages.tex +++ b/chapters/packages.tex @@ -336,14 +336,14 @@ \section{Multilingual Descriptions}\label{multilingual-descriptions} \end{nonnormative} The files to support translation must be provided by the developer of the library. -They must be stored in a subdirectory of the \filename{Resources} directory of the library with the name \filename{Language}. +They must be stored in the resources directory \filename{modelica:///Resources/Language/}. Two kind of files have to be provided: \begin{enumerate} -\item Template file \filename{.pot}. +\item Template file \filename{.pot}, as the resource \filename{modelica:///Resources/Language/.pot}. It contains all necessary information to translate all descriptions, but no translations. The pattern \filename{} denotes the toplevel class name of the library. -\item One file for each supported language with the name \filename{..po}. +\item One file for each supported language with the name \filename{..po}, as the resource \filename{modelica:///Resources/Language/..po}. This file is a copy of the associated template file, but extended with the translations in the specified language. The pattern \filename{} stands for the ISO 639-1 language code, e.g. \filename{de} or \filename{en}. \end{enumerate}