Danish language pack

Post Reply
User avatar
TheDane
Posts: 10
Joined: Sat Jan 09, 2021 3:28 am

Danish language pack

Post by TheDane »

I have now created a Danish language pack, since I am new to Github this was the biggest task and took most of the time to figure out :shock:

Any how, I have not been able to understand how to create a pull request to https://github.com/robiso/wondercms-cdn-files to the plugins-list file, as described in the guide. I am sure my problem is the lack of knowledge in the Github system. Somehow it seems like I can only make a pull request back to the forked repository.

The repository is : https://github.com/mivodk/translation-danish

Any pointers how to do it how to create a pull request to https://github.com/robiso/wondercms-cdn-files to the plugins-list file?

Thanks
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Danish language pack

Post by wiz »

This is awesome :)

The repository was forked and now added to the official list of WonderCMS translation plugins. Your contribution will surely ease the use for some WCMS users. You should see the plugin in your WonderCMS settings panel, after updates are checked.

Regarding the pull request, it's easier if I point you in the right direction: https://docs.github.com/en/github/colla ... repository
- it explains how to create a pull request with pictures and nice explanations.

Send us over your name/website so we can add it to our contributors list (if we already haven't) :)
User avatar
TheDane
Posts: 10
Joined: Sat Jan 09, 2021 3:28 am

Re: Danish language pack

Post by TheDane »

Thank you Wiz

I have send an email about the Danish translation, and my information to hi@wondercms.com at the 9th of marts 2021 from my Gmail.
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Danish language pack

Post by wiz »

Hey Dane, after some digging, the email was found in spam.
Thanks for bringing this up, and thank you for your contribution efforts.

Proudly adding you to our list of contributors and linking to your LinkedIn here https://www.wondercms.com/contributors

I'm still trying to figure out how to make people included easier (in WonderCMS), sometimes it seems we make it difficult to contribute. Any ideas what could be improved, from your perspective?
User avatar
TheDane
Posts: 10
Joined: Sat Jan 09, 2021 3:28 am

Re: Danish language pack

Post by TheDane »

Hi Wiz

The only problem I had was the use of Github, and that on me. I am not a developer or programmer professional. But doing the translation and using Github for this project, have given me some understanding on how WonderCMS works. The system is fine, I think it is easy to contribute, and it seems like the community forum is friendly to new users.

Now and in the past I have been using Joomla CMS since it was called Mambo for 20 years ago, it is probably not a secret that development of template is important to all users of websites and CMS. The next thing I am going to look at is a new template that I have in my mind, that will make it possible to do most design in HTML. Maybe also one with a simple build in CSS image slider.

I will probably learn a lot doing it, since my CSS skills are small to none. So at this moment I don't know how easy it will be, based on the documentation that are present for WonderCMS. But maybe some video tutorials about "how to make a simple template", "how to add a block", "how WonderCMS is build", "how to contribute plugins and templates" and so.

Maybe on a Youtube channel, it should be a small task to get the 1000 followers for an official WonderCMS channel to get it monetarized - so it also could be a on going donor for the project. But again, these tutorials take time to make so...

Any way, I like WonderCMS because it is simple and fast to get up and running. So thank you, for a nice project ;)
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Danish language pack

Post by wiz »

Hi TheDane, glad to read your message again.

Your suggestions are amazing. I've been thinking about making a "how to use WonderCMS" video for a long time, but the other suggestions are AWESOME! I'll try to produce at least following short video tutorials:
- how to implement WonderCMS in most templates (or how to make a simple template)
- how to install and use WonderCMS

If you're about to create a template, you can check out how on our Wiki here: https://github.com/robiso/wondercms/wik ... easy-steps

I'll try to explain how to simply create a theme here.
You only need to put in a few basic/critical tags to make WonderCMS work. You can put these tags anywhere you want in your theme.php


1. At the very top of your theme.php, you'll always need.

Code: Select all

<?php global $Wcms ?>
2. In between the

Code: Select all

<head></head>

Code: Select all

 <?= $Wcms->css() ?>
- admin settings panel CSS

Code: Select all

<link rel="stylesheet" href=" <?= $Wcms->asset('css/style.css') ?> ">
- your theme style.css (located in css folder).

3. Right after

Code: Select all

<body>
starts, for admin settings and alerts:

Code: Select all

<?= $Wcms->settings() ?>
<?= $Wcms->alerts() ?>
4. For the menu:

Code: Select all

<?= $Wcms->menu() ?>
5. Main website title:

Code: Select all

<?= $Wcms->get('config','siteTitle') ?>
6. Main content editable area (different on each page)

Code: Select all

<?= $Wcms->page('content') ?>
7. Footer

Code: Select all

<?= $Wcms->footer() ?>
8. After closing

Code: Select all

</body>

Code: Select all

<?= $Wcms->js() ?>
The above should be enough to start. You can also include Bootstrap or any other CSS/JS libraries.
There are more tags in the documentation (such as SEO optimizations for the

Code: Select all

<head></head>
part).

Thank you for your constructive feedback, it's really appreciated!
Post Reply