Difference between revisions of "How to translate"

From LFS Manual
Jump to navigationJump to search
(Updated public translation url)
Line 5: Line 5:
 
[https://www.lfs.net/lfs_translate/public_translation_viewer.php Public Translations]
 
[https://www.lfs.net/lfs_translate/public_translation_viewer.php Public Translations]
  
 
+
If a string is not translated, it will by default use the English string instead.
If a string is not translated, it will by default use the english string instead.
 
  
 
== Contributing ==
 
== Contributing ==
 
'''Where do i find the language files?'''
 
'''Where do i find the language files?'''
  
All language files are located in your <code>[lfs_folder]/data/language</code>
+
All language files are located in your {{folder|[lfs_folder]/data/language}}.
 
 
  
 
'''Where do i find the latest translation keys?'''
 
'''Where do i find the latest translation keys?'''
  
 
All translation keys and status of the current translation can be found on the [https://www.lfs.net/lfs_translate/public_translation_viewer.php LFS Public Translations].
 
All translation keys and status of the current translation can be found on the [https://www.lfs.net/lfs_translate/public_translation_viewer.php LFS Public Translations].
 
  
 
'''Where can i submit my changes?'''
 
'''Where can i submit my changes?'''
  
Changes to language packs are submitted to the <code>language packs section</code> on the LFS Forum.
+
Changes to language packs are submitted to the [https://www.lfs.net/forum/28-Language-Packs Language Packs section] on the LFS Forum.
  
[https://www.lfs.net/forum/28-Language-Packs Language Packs]
+
Each translation also has one or more assigned translators, who can edit the translations using the [https://www.lfs.net/lfs_translate/translate.php translation web interface]. If you think the current assigned translators are inactive and you could become one of them, try [https://www.lfs.net/mailus contacting the LFS developers].

Revision as of 14:56, 17 January 2025

The way the translation works is that there are two text strings in the language files.

The first string is the key and the rest of the line is the value (the translated text). Upon translation, you're going to need to find the latest list of translation keys.

Public Translations

If a string is not translated, it will by default use the English string instead.

Contributing

Where do i find the language files?

All language files are located in your [lfs_folder]/data/language.

Where do i find the latest translation keys?

All translation keys and status of the current translation can be found on the LFS Public Translations.

Where can i submit my changes?

Changes to language packs are submitted to the Language Packs section on the LFS Forum.

Each translation also has one or more assigned translators, who can edit the translations using the translation web interface. If you think the current assigned translators are inactive and you could become one of them, try contacting the LFS developers.