Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Rody Molenaar
Copyright (c) 2016 Laravel Serbia

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
69 changes: 29 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,65 +1,54 @@
# Serbian Language Pack for [Flarum](http://flarum.org/)
# Serbian (Latin Script) Language Pack for [Flarum](http://flarum.org/)

Extension to localize the Flarum forum software and its official extensions into Serbian.
Serbian (Latin Script) language pack to localize the Flarum forum software, its bundled extensions and libraries.

## Information
## Informations

### Compatibility
Includes the following Serbian (Latin Script) locales compatible with:

This language pack is compatible with:

- [Flarum](https://github.com/flarum/core) (Core) v0.1.0-beta.4
- [Flarum](https://github.com/flarum/core)'s Core [0.1.0 Beta 4](https://github.com/flarum/core/releases/tag/v0.1.0-beta.4)
- Bundled extensions:
- [Flags](https://github.com/flarum/flags) v0.1.0-beta.4
- [Likes](https://github.com/flarum/likes) v0.1.0-beta.3
- [Lock](https://github.com/flarum/lock) v0.1.0-beta.3
- [Mentions](https://github.com/flarum/mentions) v0.1.0-beta.3
- [Pusher](https://github.com/flarum/pusher) v0.1.0-beta.3
- [Reports](https://github.com/flarum/reports) v0.1.0-beta.4
- [Sticky](https://github.com/flarum/sticky) v0.1.0-beta.3
- [Subscriptions](https://github.com/flarum/subscriptions) v0.1.0-beta.4
- [Tags](https://github.com/flarum/tags) v0.1.0-beta.4
- [Flags](https://github.com/flarum/flarum-ext-flags) [0.1.0 Beta 4](https://github.com/flarum/flarum-ext-flags/releases/tag/v0.1.0-beta.4)
- [Likes](https://github.com/flarum/flarum-ext-likes) [0.1.0 Beta 3](https://github.com/flarum/flarum-ext-likes/releases/tag/v0.1.0-beta.3)
- [Lock](https://github.com/flarum/flarum-ext-lock) [0.1.0 Beta 3](https://github.com/flarum/flarum-ext-lock/releases/tag/v0.1.0-beta.3)
- [Mentions](https://github.com/flarum/flarum-ext-mentions) [0.1.0 Beta 4](https://github.com/flarum/flarum-ext-mentions/releases/tag/v0.1.0-beta.4)
- [Pusher](https://github.com/flarum/flarum-ext-pusher) [0.1.0 Beta 3](https://github.com/flarum/flarum-ext-pusher/releases/tag/v0.1.0-beta.3)
- [Sticky](https://github.com/flarum/flarum-ext-sticky) [0.1.0 Beta 3](https://github.com/flarum/flarum-ext-sticky/releases/tag/v0.1.0-beta.3)
- [Subscriptions](https://github.com/flarum/flarum-ext-subscriptions) [0.1.0 Beta 4](https://github.com/flarum/flarum-ext-subscriptions/releases/tag/v0.1.0-beta.4)
- [Tags](https://github.com/flarum/flarum-ext-tags) [0.1.0 Beta 4](https://github.com/flarum/flarum-ext-tags/releases/tag/v0.1.0-beta.4)
- Bundled libraries:
- [Laravel](https://github.com/laravel/laravel)'s Validation [5.1.11](https://github.com/laravel/laravel/releases/tag/v5.1.11)
- [Moment.js](https://github.com/moment/moment) [2.10.6](https://github.com/moment/moment/releases/tag/2.10.6)
- [Laravel](https://github.com/laravel/laravel)'s Validation Rules [5.2.15](https://github.com/laravel/laravel/releases/tag/v5.2.15)
- [Moment.js](https://github.com/moment/moment) [2.12.0](https://github.com/moment/moment/releases/tag/2.12.0)

Released under the MIT license. Please see the [license terms](https://github.com/laravelrs/flarum-ext-serbian-latin/blob/master/LICENSE).

## Installation
Composer installation is *strongly encouraged* as once beta 5 is released manual installation will no longer work.

### Using Composer

Flarum uses Composer to manage its dependencies and extensions. The Serbian language pack, available [on Packagist](https://packagist.org/packages/laravelrs/serbian), is also manageable with Composer. Make sure that [Composer](https://getcomposer.org/) is installed on your machine, then run the following command in the location where Flarum is installed:
Flarum use Composer to manage its dependencies and extensions. The Serbian (Latin Script) language pack is available [on Packagist](https://packagist.org/packages/laravelrs/flarum-ext-serbian-latin) and can be managed that way. Make sure that [Composer](https://getcomposer.org/) is installed on your machine, then run the following command in the location where Flarum is installed:

```
composer require laravelrs/serbian
composer require laravelrs/flarum-ext-serbian-latin
```

The same command can be used to update independently the Serbian (Latin Script) language pack, without updating anything else. Note that because the Serbian (Latin Script) language pack will be added as a Flarum's dependency, it will also be automatically updated when updating Flarum and its dependencies via Composer.

### Manual Installation

1. Download [the latest stable release](https://github.com/berteltorp/Flarum-sr-RS/releases) or [the latest development version](https://github.com/laravelrs/Flarum-sr-RS/archive/master.zip).
1. Download [the latest stable release](https://github.com/laravelrs/flarum-ext-serbian-latin) (or [the latest development build](https://github.com/laravelrs/flarum-ext-serbian-latin/archive/master.zip)).
2. Unpack the downloaded archive with [a file archiver](https://en.wikipedia.org/wiki/Comparison_of_file_archivers).
3. Log in to your server via [FTP](https://en.wikipedia.org/wiki/File_Transfer_Protocol), [SSH](https://en.wikipedia.org/wiki/Secure_Shell) or your provider's control panel.
4. Navigate to the *extensions/* directory of your Flarum installation.
5. Create a *laravelrs-serbian/* subdirectory into it.
5. Create a *laravelrs-serbian-latin/* subdirectory into it.
6. Upload all the content in the unpacked folder to this subdirectory.

It's optional, but you can also add manually the Serbian language pack as Flarum's dependency. It allows you to automatically update the Serbian language pack update Flarum's dependencies by using Composer. Open the *composer.json* file located at the root of your Flarum installation (not the language pack one!) with [a text editor](https://en.wikipedia.org/wiki/Comparison_of_text_editors), then add to the list of Flarum's dependencies (which are listed below the `"require"` property) the following line in a new line:

```
“laravelrs/serbian”: "^1.0"
```

Note that you must add a colon at the end of this line if it is the last item of the dependency list, else it will stop the execution due to a parsing error.

### License

Released under the MIT License. Please see the [LICENSE](https://github.com/berteltorp/Flarum-sr-RS/blob/master/LICENSE) file.

## Contributing

Thank you a lot to wish to contribute. It means a lot. Using and enjoying the localization is already a huge support. Best other ways to contribute are, among other things:
Thank you a lot to wish to contribute. I sincerely appreciate your commitment. Using the language pack is already a huge support, but best other ways to contribute are:

- Open [issues](https://github.com/laravelrs/Flarum-sr-RS/issues) on GitHub. Because the localization will be better with your feedbacks.
- Open pull requests on GitHub. Submit fixes and improvements and be listed as [contributor](https://github.com/laravelrs/Flarum-sr-RS/graphs/contributors)!
- [Join the discussion about the extension](http://discuss.flarum.org/d/) on the Flarum community.
- [Follow me on Twitter](https://twitter.com/laravel_rs).
- Star on GitHub. Because if you use it and like it, you can at least be a stargazer!
- Follow on GitHub. You will be notified in real time of all changes. No more misses!
- Report [issues](https://github.com/laravelrs/flarum-ext-serbian-latin/issues) on GitHub. Any feedback is welcome.
- Open pull requests on GitHub to submit fixes and improvements. Be listed as a [contributor](https://github.com/laravelrs/flarum-ext-serbian-latin/graphs/contributors)!
- Follow me [on Twitter](https://twitter.com/laravel_rs).
27 changes: 8 additions & 19 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "laravelrs/serbian",
"name": "laravelrs/flarum-ext-serbian-latin",
"type": "flarum-extension",
"description": "Serbian language pack.",
"homepage": "https://github.com/laravelrs/Flarum-sr-RS",
"description": "Serbian (Latin Script) language pack.",
"homepage": "https://github.com/laravelrs/flarum-ext-serbian-latin",
"keywords": ["locale"],
"license": "MIT",
"authors": [
Expand All @@ -13,26 +13,15 @@
}
],
"support": {
"issues": "https://github.com/laravelrs/Flarum-sr-RS/issues",
"source": "https://github.com/laravelrs/Flarum-sr-RS",
"forum": "https://discuss.flarum.org/"
"issues": "https://github.com/laravelrs/flarum-ext-serbian-latin/issues",
"source": "https://github.com/laravelrs/flarum-ext-serbian-latin"
},
"require": {
"flarum/core": "^0.1.0-beta.4"
},
"suggest": {
"flarum/flags": "Allow users to flag posts for moderator review",
"flarum/likes": "Allow users to like posts",
"flarum/lock": "End a discussion and don't let anyone add further replies",
"flarum/mentions": "Mention and reply to specific posts and users",
"flarum/pusher": "See new discussions and posts in real-time using Pusher",
"flarum/sticky": "Pin discussions to the top of the list",
"flarum/subscriptions": "Allow users to follow discussions and receive notifications for new posts",
"flarum/tags": "Organize discussions into a hierarchy of tags and categories"
},
"extra": {
"flarum-extension": {
"title": "Serbian",
"title": "Serbian (Latin Script)",
"icon": {
"image": "icon.svg",
"backgroundColor": "#fff",
Expand All @@ -41,8 +30,8 @@
}
},
"flarum-locale": {
"code": "sr",
"title": "Serbian"
"code": "sr-Latn",
"title": "Srpski"
}
}
}
Loading