Current Version: 7.2
Requirements: Ossn >= 7.1
GDPR affected: No
License: GNU General Public License v2
This component allows to customize Ossn's default language strings located in any locale subdirectory and keep your changes safe from upcoming release updates.
Procedure:
1. Make yourself familiar with Ossn's language files...
- https://www.opensource-socialnetwork.org/wiki/view/2132/how-to-translate-ossn
- chapter II. WHAT YOU SHOULD KNOW IN ADVANCE
2. Disable Ossn's cache from your administrator backend via 'Site Settings -> Cache'
3. Enable Ossn's error reporting via 'Site Settings -> Basic -> Error Reporting -> On'
4. Search Ossn's 'locale' subdirectories for the string you want to replace
- Example: searching for "It's free and always will be."
- This string will be found in the file 'locale/ossn.en.php'
- The complete line looks like 'its:free' => "It's free and always will be.",
5. Use a UTF-8 supporting Text Editor like Notepad++ to open the corresponding 'ossn.en.php' file in the 'custom_locale' subdirectory of the CustomStrings component
6. Copy the complete line you just found in step 4 into this file
7. Replace the right part "It's free and always will be." by your own translation
8. Save your change, reload your Ossn site, and verify your change appears as expected
9. When done, disable Error Reporting and re-enable Ossn's cache
V 7.2
Outdated releases
V 4.0